Re: Some more questions

John Mitchell (johnm@non.net)
21 Nov 1996 02:16:07 -0000

>>>>> "GWRepNate" == GWRepNate <GWRepNate@aol.com> writes:
> In a message dated 96-11-20 19:07:10 EST, dg@dcs.st-and.ac.uk writes:
[...]
>> 4. Is there any reason why I can't use the -P option to BCC to tell it
>> to build in C++ mode? This will let me use some C++ constructs such as
>> // comments and declaring variables as I need them. This would let me
>> tidy my code somewhat.

> Make a local.mk file like this:

> CCOM_FLAGS += -P
> #include <$(SYSMAKEFILE)>

Does the -P flag to BCC just tell it to allow "silly" things like C++ style
comments or does it tell it to accept/support full C++?

If it's the former than you probably can but if it's the latter than you
can't use it because (unless I've missed an announcement or three :-), the
GEOS SDK does *not* support C++ code.

Take care,
John