[Prev][Next][Index]
Re: Defines and const declarations
- From: "Shelby Yang" <yang@cs.indiana.edu>
- Subject: Re: Defines and const declarations
- To: pedro@cs.ucsb.edu (Pedro N. Diniz)
- Date: Wed, 6 Sep 1995 10:35:58 -0500 (EST)
- Cc: sage-bugs@rainier.extreme.indiana.edu
- In-Reply-To: <9509051949.AA18620@cheetah.ucsb-cmpsci> from "Pedro N. Diniz" at Sep 5, 95 12:49:41 pm
- Sender: owner-sage-bugs@extreme.indiana.edu
>
>
> 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):