tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] infinit loop when preprocessing


From: mobi phil
Subject: [Tinycc-devel] infinit loop when preprocessing
Date: Sun, 16 May 2010 18:56:05 +0200

When trying to compile a file from the project:

http://sourceforge.net/projects/cos/files/C%20Object%20System/0.8/cos-0.8_200906.tgz/download

the compiler seem to go into infinit loop with the output below...

the compiler line:
->tcc -E main.c -I../../include  -I/usr/include -o t.e


 file included from main.c:36:
In file included from generics.h:40:
../../include/cos/gen/object.h:49: warning: pasting "," and "38" does
not give a valid preprocessing token
In file included from main.c:36:
In file included from generics.h:40:
../../include/cos/gen/object.h:49: warning: pasting "," and "37" does
not give a valid preprocessing token
In file included from main.c:36:
In file included from generics.h:40:
../../include/cos/gen/object.h:49: warning: pasting "," and "36" does
not give a valid preprocessing token
In file included from main.c:36:
In file included from generics.h:40:
../../include/cos/gen/object.h:49: warning: pasting "," and "35" does
not give a valid preprocessing token
In file included from main.c:36:
In file included from generics.h:40:
../../include/cos/gen/object.h:49: warning: pasting "," and "34" does
not give a valid preprocessi


if I ask to compile:

->tcc  -c main.c -I../../include  -I/usr/include -o t.e
In file included from main.c:36:
In file included from generics.h:39:
In file included from ../../include/cos/Object.h:56:
In file included from ../../include/cos/cos/cos.h:87:
../../include/cos/cos/cosdef.h:80: ';' expected


It is about heavy macro expansion, however would like to know if there
are some known issues with C99 features, that would cause the macro
expansions to fail...

-- 
rgrds,
mobi phil

being mobile, but including technology
http://mobiphil.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]