[GCC-XML] ACE and gccxml?
Timothy Paul Johnson
timothyp at cae.com
Fri Jan 28 17:05:05 EST 2005
Hello,
I'm having trouble using gccxml on a project that has recently started to
use the ACE multi-platform library (from
http:/www.cs.wustl.edu/~schmidt/ACE.html)
Has anyone done this before?
I've cut it down to a really simple thing and isolated the problem to be
something to do with the ACE headers:
I have one header file (generated.h) with one line:
#include "ace\OS.h"
And I run the following command:
"\Program Files\GccXml\bin\gccxml.exe" --gccxml-compiler msvc7 -D _MT -I
"c:\Program Files\ACE" -fxml=generated.xml Generated.h
In file included from c:/Program Files/ace/ace/Object_Manager_Base.h:30,
from c:/Program Files/ace/ace/OS.h:28,
from Generated.h:3:
c:/Program Files/ace/ace/os_include/os_signal.h:275: error: '
sigset_t' is used as a type, but is not defined as a type.
c:/Program Files/ace/ace/os_include/os_signal.h:316: error: `
sigset_t' was not declared in this scope
c:/Program Files/ace/ace/os_include/os_signal.h:316: error: `
set' was not declared in this scope
c:/Program Files/ace/ace/os_include/os_signal.h:321: error: syntax
error before `*' token
In file included from c:/Program Files/ace/ace/OS.h:28,
from Generated.h:3:
c:/Program Files/ace/ace/Object_Manager_Base.h:181: error: ISO
C++ forbids declaration of `sigset_t' with no type
c:/Program Files/ace/ace/Object_Manager_Base.h:181: error: syntax
error before `*' token
c:/Program Files/ace/ace/Object_Manager_Base.h:224: error: syntax
error before `*' token
In file included from c:/Program Files/ace/ace/os_include/os_unistd.h:35,
from c:/Program Files/ace/ace/os_include/os_limits.h:27,
from c:/Program Files/ace/ace/os_include/sys/os_uio.h:28,
from c:/Program
Files/ace/ace/os_include/sys/os_socket.h:27,
from c:/Program
Files/ace/ace/os_include/netinet/os_in.h:28,
from c:/Program Files/ace/ace/os_include/arpa/os_inet.h:27,
from c:/Program Files/ace/ace/OS_NS_arpa_inet.h:28,
from c:/Program Files/ace/ace/OS.h:30,
from Generated.h:3:
C:/Program Files/Microsoft Visual Studio .NET/Vc7/Include/process.h:180:
error: syntax
error before `intptr_t'
In file included from c:/Program Files/ace/ace/OS_NS_arpa_inet.inl:6,
from c:/Program Files/ace/ace/OS_NS_arpa_inet.h:70,
from c:/Program Files/ace/ace/OS.h:30,
from Generated.h:3:
c:/Program Files/ace/ace/OS_NS_stdio.h:188: error: type
specifier omitted for parameter `off_t'
c:/Program Files/ace/ace/OS_NS_stdio.h:188: error: syntax
error before `&' token
c:/Program Files/ace/ace/OS_NS_stdio.h:196: error: type
specifier omitted for parameter `mode_t'
c:/Program Files/ace/ace/OS_NS_stdio.h:196: error: syntax
error before `=' token
c:/Program Files/ace/ace/OS_NS_stdio.h:205: error: type
specifier omitted for parameter `off_t'
c:/Program Files/ace/ace/OS_NS_stdio.h:205: error: syntax
error before `=' token
c:/Program Files/ace/ace/OS_NS_stdio.h:211: error: type
specifier omitted for parameter `off_t'
c:/Program Files/ace/ace/OS_NS_stdio.h:211: error: syntax
error before `=' token
c:/Program Files/ace/ace/OS_NS_stdio.h:217: error: type
specifier omitted for parameter `off_t'
c:/Program Files/ace/ace/OS_NS_stdio.h:217: error: syntax
error before `=' token
c:/Program Files/ace/ace/OS_NS_stdio.h:223: error: type
specifier omitted for parameter `off_t'
c:/Program Files/ace/ace/OS_NS_stdio.h:223: error: syntax
error before `=' token
c:/Program Files/ace/ace/OS_NS_stdio.h:229: error: type
specifier omitted for parameter `off_t'
c:/Program Files/ace/ace/OS_NS_stdio.h:229: error: syntax
error before `=' token
In file included from c:/Program Files/ace/ace/OS_NS_stdio.inl:4,
from c:/Program Files/ace/ace/OS_NS_stdio.h:405,
from c:/Program Files/ace/ace/OS_NS_arpa_inet.inl:6,
from c:/Program Files/ace/ace/OS_NS_arpa_inet.h:70,
from c:/Program Files/ace/ace/OS.h:30,
from Generated.h:3:
c:/Program Files/ace/ace/OS_NS_unistd.h:118: error: syntax
error before `(' token
c:/Program Files/ace/ace/OS_NS_unistd.h:122: error: syntax
error before `(' token
c:/Program Files/ace/ace/OS_NS_unistd.h:125: error: syntax
blah
blah
blah
...
Can anyone help me? Is this a problem with gccxml, or with ACE?
Thanks,
Tim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/gccxml/attachments/20050128/0e514b84/attachment.htm
More information about the gccxml
mailing list