My eyes must have played tricks on me, because I thought gccxml did not output anything, but in fact it did. But I didn't have much to translate and finished it by hand lastnight. <br><br>Here's the output you asked for.<br>
<br>[starlon@localhost lib]$ gccxml tmp.h -fxml=tmp.xml --print<br>GCC-XML version 0.9.0<br>Configuration settings:<br> GCCXML_CONFIG="/usr/local/share/gccxml-0.9/gccxml_config"<br> GCCXML_COMPILER="/usr/lib/ccache/c++"<br>
GCCXML_CXXFLAGS=""<br> GCCXML_EXECUTABLE="/usr/local/bin/gccxml_cc1plus"<br> GCCXML_CPP="/usr/local/bin/gccxml_cc1plus"<br> GCCXML_FLAGS="-D__DBL_MIN_EXP__='(-1021)' -D__FLT_MIN__='1.17549435e-38F' -D__DEC64_DEN__='0.000000000000001E-383DD' -D__CHAR_BIT__='8' -D__WCHAR_MAX__='2147483647' -D__DBL_DENORM_MIN__='4.9406564584124654e-324' -D__FLT_EVAL_METHOD__='2' -D__unix__='1' -D__DBL_MIN_10_EXP__='(-307)' -D__FINITE_MATH_ONLY__='0' -D__GNUC_PATCHLEVEL__='2' -D__DEC64_MAX_EXP__='384' -D__SHRT_MAX__='32767' -D__LDBL_MAX__='1.18973149535723176502e+4932L' -D__UINTMAX_TYPE__='long long unsigned int' -D__linux='1' -D__DEC32_EPSILON__='1E-6DF' -D__unix='1' -D__LDBL_MAX_EXP__='16384' -D__linux__='1' -D__SCHAR_MAX__='127' -D__DBL_DIG__='15' -D__SIZEOF_INT__='4' -D__SIZEOF_POINTER__='4' -D__USER_LABEL_PREFIX__='' -D__STDC_HOSTED__='1' -D__LDBL_HAS_INFINITY__='1' -D__FLT_EPSILON__='1.19209290e-7F' -D__GXX_WEAK__='1' -D__LDBL_MIN__='3.36210314311209350626e-4932L' -D__DEC32_MAX__='9.999999E96DF' -D__SIZEOF_LONG__='4' -D__DECIMAL_DIG__='21' -D__gnu_linux__='1' -D__LDBL_HAS_QUIET_NAN__='1' -D__GNUC__='4' -D__GXX_RTTI='1' -D__FLT_HAS_DENORM__='1' -D__SIZEOF_LONG_DOUBLE__='12' -D__DBL_MAX__='1.7976931348623157e+308' -D__DBL_HAS_INFINITY__='1' -D__DEC32_MIN_EXP__='(-95)' -D__LDBL_HAS_DENORM__='1' -D__cplusplus='1' -D__DEC128_MAX__='9.999999999999999999999999999999999E6144DL' -D__DEC32_MIN__='1E-95DF' -D__DEPRECATED='1' -D__DBL_MAX_EXP__='1024' -D__DEC128_EPSILON__='1E-33DL' -D__GNUG__='4' -D__LONG_LONG_MAX__='9223372036854775807LL' -D__SIZEOF_SIZE_T__='4' -D__SIZEOF_WINT_T__='4' -D__GXX_ABI_VERSION='1002' -D__FLT_MIN_EXP__='(-125)' -D__DBL_MIN__='2.2250738585072014e-308' -D__FLT_MIN_10_EXP__='(-37)' -D__DECIMAL_BID_FORMAT__='1' -D__DEC128_MIN__='1E-6143DL' -D__REGISTER_PREFIX__='' -D__DBL_HAS_DENORM__='1' -D__NO_INLINE__='1' -D__i386='1' -D__FLT_MANT_DIG__='24' -D__VERSION__='"4.3.2 20081105 (Red Hat 4.3.2-7)"' -D__DEC64_EPSILON__='1E-15DD' -D__DEC128_MIN_EXP__='(-6143)' -Dunix='1' -D__i386__='1' -D__SIZE_TYPE__='unsigned int' -D__DEC32_DEN__='0.000001E-95DF' -D__ELF__='1' -D__FLT_RADIX__='2' -D__LDBL_EPSILON__='1.08420217248550443401e-19L' -D__GNUC_RH_RELEASE__='7' -D__SIZEOF_PTRDIFF_T__='4' -D__FLT_HAS_QUIET_NAN__='1' -D__FLT_MAX_10_EXP__='38' -D__LONG_MAX__='2147483647L' -D__FLT_HAS_INFINITY__='1' -D__DEC64_MAX__='9.999999999999999E384DD' -D__DEC64_MANT_DIG__='16' -D__DEC32_MAX_EXP__='96' -Dlinux='1' -D__DEC128_DEN__='0.000000000000000000000000000000001E-6143DL' -D__EXCEPTIONS='1' -D__LDBL_MANT_DIG__='64' -D__DBL_HAS_QUIET_NAN__='1' -D__WCHAR_TYPE__='long int' -D__SIZEOF_FLOAT__='4' -D__DEC64_MIN_EXP__='(-383)' -D__FLT_DIG__='6' -D__INT_MAX__='2147483647' -D__FLT_MAX_EXP__='128' -D__DBL_MANT_DIG__='53' -D__DEC64_MIN__='1E-383DD' -D__WINT_TYPE__='unsigned int' -D__SIZEOF_SHORT__='2' -D__LDBL_MIN_EXP__='(-16381)' -D__LDBL_MAX_10_EXP__='4932' -D__DBL_EPSILON__='2.2204460492503131e-16' -D__SIZEOF_WCHAR_T__='4' -D__DEC_EVAL_METHOD__='2' -D__INTMAX_MAX__='9223372036854775807LL' -D__FLT_DENORM_MIN__='1.40129846e-45F' -D__FLT_MAX__='3.40282347e+38F' -D__SIZEOF_DOUBLE__='8' -D__INTMAX_TYPE__='long long int' -Di386='1' -D__DEC128_MAX_EXP__='6144' -D__GNUC_MINOR__='3' -D__DEC32_MANT_DIG__='7' -D__DBL_MAX_10_EXP__='308' -D__LDBL_DENORM_MIN__='3.64519953188247460253e-4951L' -D__STDC__='1' -D__PTRDIFF_TYPE__='int' -D__DEC128_MANT_DIG__='34' -D__LDBL_MIN_10_EXP__='(-4931)' -D__SIZEOF_LONG_LONG__='8' -D__LDBL_DIG__='18' -D__GNUC_GNU_INLINE__='1' -D_GNU_SOURCE='1' -iwrapper"/usr/local/share/gccxml-0.9/GCC/4.3" -isystem"/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2" -isystem"/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2/i386-redhat-linux" -isystem"/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward" -isystem"/usr/local/include" -isystem"/usr/lib/gcc/i386-redhat-linux/4.3.2/include" -isystem"/usr/include" -include "gccxml_builtins.h""<br>
GCCXML_USER_FLAGS=""<br> GCCXML_ROOT="/usr/local/share/gccxml-0.9"<br><br>and:<br><br>[starlon@localhost lib]$ gccxml tmp.h -fxml=tmp.xml --debug<br>Using "/usr/local/bin/gccxml_cc1plus" as GCC-XML executable.<br>
Using the following arguments to GCC-XML executable:<br> "-quiet"<br> "-fsyntax-only"<br> "-w"<br> "-I-"<br> "-o"<br> "/dev/null"<br> "-nostdinc"<br>
"-undef"<br> "-D__GCCXML__=900"<br> "-D__GCCXML_GNUC__=4"<br> "-D__GCCXML_GNUC_MINOR__=2"<br> "-D__GCCXML_GNUC_PATCHLEVEL__=1"<br> "tmp.h"<br> "-fxml=tmp.xml"<br>
"-D__DBL_MIN_EXP__=(-1021)"<br> "-D__FLT_MIN__=1.17549435e-38F"<br> "-D__DEC64_DEN__=0.000000000000001E-383DD"<br> "-D__CHAR_BIT__=8"<br> "-D__WCHAR_MAX__=2147483647"<br>
"-D__DBL_DENORM_MIN__=4.9406564584124654e-324"<br> "-D__FLT_EVAL_METHOD__=2"<br> "-D__unix__=1"<br> "-D__DBL_MIN_10_EXP__=(-307)"<br> "-D__FINITE_MATH_ONLY__=0"<br> "-D__GNUC_PATCHLEVEL__=2"<br>
"-D__DEC64_MAX_EXP__=384"<br> "-D__SHRT_MAX__=32767"<br> "-D__LDBL_MAX__=1.18973149535723176502e+4932L"<br> "-D__UINTMAX_TYPE__=long long unsigned int"<br> "-D__linux=1"<br>
"-D__DEC32_EPSILON__=1E-6DF"<br> "-D__unix=1"<br> "-D__LDBL_MAX_EXP__=16384"<br> "-D__linux__=1"<br> "-D__SCHAR_MAX__=127"<br> "-D__DBL_DIG__=15"<br> "-D__SIZEOF_INT__=4"<br>
"-D__SIZEOF_POINTER__=4"<br> "-D__USER_LABEL_PREFIX__="<br> "-D__STDC_HOSTED__=1"<br> "-D__LDBL_HAS_INFINITY__=1"<br> "-D__FLT_EPSILON__=1.19209290e-7F"<br> "-D__GXX_WEAK__=1"<br>
"-D__LDBL_MIN__=3.36210314311209350626e-4932L"<br> "-D__DEC32_MAX__=9.999999E96DF"<br> "-D__SIZEOF_LONG__=4"<br> "-D__DECIMAL_DIG__=21"<br> "-D__gnu_linux__=1"<br> "-D__LDBL_HAS_QUIET_NAN__=1"<br>
"-D__GNUC__=4"<br> "-D__GXX_RTTI=1"<br> "-D__FLT_HAS_DENORM__=1"<br> "-D__SIZEOF_LONG_DOUBLE__=12"<br> "-D__DBL_MAX__=1.7976931348623157e+308"<br> "-D__DBL_HAS_INFINITY__=1"<br>
"-D__DEC32_MIN_EXP__=(-95)"<br> "-D__LDBL_HAS_DENORM__=1"<br> "-D__cplusplus=1"<br> "-D__DEC128_MAX__=9.999999999999999999999999999999999E6144DL"<br> "-D__DEC32_MIN__=1E-95DF"<br>
"-D__DEPRECATED=1"<br> "-D__DBL_MAX_EXP__=1024"<br> "-D__DEC128_EPSILON__=1E-33DL"<br> "-D__GNUG__=4"<br> "-D__LONG_LONG_MAX__=9223372036854775807LL"<br> "-D__SIZEOF_SIZE_T__=4"<br>
"-D__SIZEOF_WINT_T__=4"<br> "-D__GXX_ABI_VERSION=1002"<br> "-D__FLT_MIN_EXP__=(-125)"<br> "-D__DBL_MIN__=2.2250738585072014e-308"<br> "-D__FLT_MIN_10_EXP__=(-37)"<br>
"-D__DECIMAL_BID_FORMAT__=1"<br> "-D__DEC128_MIN__=1E-6143DL"<br> "-D__REGISTER_PREFIX__="<br> "-D__DBL_HAS_DENORM__=1"<br> "-D__NO_INLINE__=1"<br> "-D__i386=1"<br>
"-D__FLT_MANT_DIG__=24"<br> "-D__VERSION__="4.3.2 20081105 (Red Hat 4.3.2-7)""<br> "-D__DEC64_EPSILON__=1E-15DD"<br> "-D__DEC128_MIN_EXP__=(-6143)"<br> "-Dunix=1"<br>
"-D__i386__=1"<br> "-D__SIZE_TYPE__=unsigned int"<br> "-D__DEC32_DEN__=0.000001E-95DF"<br> "-D__ELF__=1"<br> "-D__FLT_RADIX__=2"<br> "-D__LDBL_EPSILON__=1.08420217248550443401e-19L"<br>
"-D__GNUC_RH_RELEASE__=7"<br> "-D__SIZEOF_PTRDIFF_T__=4"<br> "-D__FLT_HAS_QUIET_NAN__=1"<br> "-D__FLT_MAX_10_EXP__=38"<br> "-D__LONG_MAX__=2147483647L"<br> "-D__FLT_HAS_INFINITY__=1"<br>
"-D__DEC64_MAX__=9.999999999999999E384DD"<br> "-D__DEC64_MANT_DIG__=16"<br> "-D__DEC32_MAX_EXP__=96"<br> "-Dlinux=1"<br> "-D__DEC128_DEN__=0.000000000000000000000000000000001E-6143DL"<br>
"-D__EXCEPTIONS=1"<br> "-D__LDBL_MANT_DIG__=64"<br> "-D__DBL_HAS_QUIET_NAN__=1"<br> "-D__WCHAR_TYPE__=long int"<br> "-D__SIZEOF_FLOAT__=4"<br> "-D__DEC64_MIN_EXP__=(-383)"<br>
"-D__FLT_DIG__=6"<br> "-D__INT_MAX__=2147483647"<br> "-D__FLT_MAX_EXP__=128"<br> "-D__DBL_MANT_DIG__=53"<br> "-D__DEC64_MIN__=1E-383DD"<br> "-D__WINT_TYPE__=unsigned int"<br>
"-D__SIZEOF_SHORT__=2"<br> "-D__LDBL_MIN_EXP__=(-16381)"<br> "-D__LDBL_MAX_10_EXP__=4932"<br> "-D__DBL_EPSILON__=2.2204460492503131e-16"<br> "-D__SIZEOF_WCHAR_T__=4"<br>
"-D__DEC_EVAL_METHOD__=2"<br> "-D__INTMAX_MAX__=9223372036854775807LL"<br> "-D__FLT_DENORM_MIN__=1.40129846e-45F"<br> "-D__FLT_MAX__=3.40282347e+38F"<br> "-D__SIZEOF_DOUBLE__=8"<br>
"-D__INTMAX_TYPE__=long long int"<br> "-Di386=1"<br> "-D__DEC128_MAX_EXP__=6144"<br> "-D__GNUC_MINOR__=3"<br> "-D__DEC32_MANT_DIG__=7"<br> "-D__DBL_MAX_10_EXP__=308"<br>
"-D__LDBL_DENORM_MIN__=3.64519953188247460253e-4951L"<br> "-D__STDC__=1"<br> "-D__PTRDIFF_TYPE__=int"<br> "-D__DEC128_MANT_DIG__=34"<br> "-D__LDBL_MIN_10_EXP__=(-4931)"<br>
"-D__SIZEOF_LONG_LONG__=8"<br> "-D__LDBL_DIG__=18"<br> "-D__GNUC_GNU_INLINE__=1"<br> "-D_GNU_SOURCE=1"<br> "-I/usr/local/share/gccxml-0.9/GCC/4.3"<br> "-isystem/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2"<br>
"-isystem/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2/i386-redhat-linux"<br> "-isystem/usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward"<br> "-isystem/usr/local/include"<br>
"-isystem/usr/lib/gcc/i386-redhat-linux/4.3.2/include"<br> "-isystem/usr/include"<br> "-include"<br> "gccxml_builtins.h"<br>gccxml_cc1plus: note: obsolete option -I- used, please use -iquote instead<br>
<br><div class="gmail_quote">On Tue, May 12, 2009 at 8:57 PM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Scott Flynn wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I just used the following and got the error:<br>
gccxml tmp.h -fxml=tmp.xml<br>
</blockquote>
<br></div>
What is the output of<br>
<br>
gccxml tmp.h -fxml=tmp.xml --print<br>
<br>
and<br>
<br>
gccxml tmp.h -fxml=tmp.xml --debug<br>
<br>
?<br><font color="#888888">
<br>
-Brad<br>
</font></blockquote></div><br>