[Prev][Next][Index]

Re: Defines and const declarations



> 
> 
> Hello 
> Apparentely the pC++ parser ignores the #define's which makes it difficult to
> integrate C and C++ code. Furthermore the plain C functions generate errors
> like "old-fashioned K&R declarations" 
> 
> How do I get around this?
> 
> Thanks,
> 
> Pedro
> 

I don't think it ignores #define's and as long as your C function complies with
ANSI C you would not see "old-fashioned K&R declarations" error messages.
Send me a piece of code and your makefile.  I'll see what's wrong.

Shelby


Reference(s):