Syntax errors in include files

Thomas Regner regner at q-marks.de
Tue Jan 30 12:12:43 GMT 2001


Hi,

Am Dienstag, 30. Januar 2001 07:26 schrieben Sie:
[...]
> > The problem seems to be due to long lines of code being split over two or
> > more lines. Increasing the length on a line in the editor before a line
> > wrap occurs initially cured the problem. However when include files such
> > as sys/types.h or sys/io.h are added to a project the problem of syntax
> > errors reoccurs.

[...]
> extern "C"{
> #include <stdlib.h>
> }
[...]
> Ralf

I think it is standard-conform to write

#include <cstdlib>

and also cstdio, cstring, etc.

Using this notation you /should/ be on the safer side of c++ :-)

hth

Tom
-- 
---------------------------
Thomas Regner

[Q]marks Online Research GmbH

tel.  +49 (0) 511 27 07 38 31
fax.  +49 (0) 511 27 07 38 55

eml.  regner at q-marks.de
url.  http://www.q-marks.de
url.  http://www.q-munity.de

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list