NO

Author Topic: pkfuncs.h-errors  (Read 3579 times)

pitter2206

  • Guest
pkfuncs.h-errors
« on: October 15, 2010, 06:49:05 PM »
Hi folks,

I´ve got a problem with Pelles C 5.00.8

I want to change some scripts, but if I only change one entry, the pkfuncs.h gives me over 100 errors:

Code: [Select]
C:\Program Files\PellesC\Include\pkfuncs.h(53): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\pkfuncs.h(53): error #2001: Syntax error: expected ')' but found '<<'.
C:\Program Files\PellesC\Include\pkfuncs.h(53): error #2001: Syntax error: expected ')' but found '<<'.
C:\Program Files\PellesC\Include\pkfuncs.h(53): error #2001: Syntax error: expected ';' but found '<<'.
C:\Program Files\PellesC\Include\pkfuncs.h(53): error #2156: Unrecognized declaration.
.
.
.
C:\Program Files\PellesC\Include\pkfuncs.h(57): warning #2099: Missing type specifier.
C:\Program Files\PellesC\Include\pkfuncs.h(57): error #2001: Syntax error: expected ')' but found '<<'.
C:\Program Files\PellesC\Include\pkfuncs.h(57): error #2001: Syntax error: expected ';' but found '<<'.
C:\Program Files\PellesC\Include\pkfuncs.h(57): fatal error #2210: More than 100 errors, please improve yourself.

If I compile the Script to Exe whithout changing something, there are no errors.

If I undo the changings, the compiler has the same errors...  ???

Please help me...  :'(

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 394
    • Alex's Link Sammlung
Re: pkfuncs.h-errors
« Reply #1 on: October 15, 2010, 07:18:09 PM »
It would help more, when you send the source than a lot of errors.

Is the source written in C++ ? Pelles C is "only" a C compiler!
best regards
 Alex ;)

pitter2206

  • Guest
Re: pkfuncs.h-errors
« Reply #2 on: October 16, 2010, 10:58:05 AM »
Hi Alex,


thank you for answering!

Those sources arre written in C whith a lot of WinApi-tools....but I could solve the problem.

I don´t know why we had included the pkfuncs.h. So I excluded the pkfuncs.h and the code compiles whithout errors....  ::)