This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++ code in cgraph.h breaking Ada builds?


I added some reference returning member functions in cgraph.h,
and now Ada appears to break while including cgraph.h.  Huh?

gnatbind -nostdinc -I- -I. -Iada -I../../src2/gcc/ada
-I../../src2/gcc/ada/gcc-interface -o b_gnat1.adb -n ada/gnat1drv.ali
mv b_gnat1.adb b_gnat1.ads ada/
build/gengtype -S ../../src2/gcc -I gtyp-input.list -w tmp-gtype.state
gcc -c -g  -gnatp -gnatws -nostdinc -I- -I. -Iada -I../../src2/gcc/ada
-I../../src2/gcc/ada/gcc-interface ada/b_gnat1.adb -o ada/b_gnat1.o
../../src2/gcc/cgraph.h:200: unexpected character `&'
../../src2/gcc/cgraph.h:428: unexpected character `&'
../../src2/gcc/cgraph.h:467: unexpected character `&'


-- 
Lawrence Crowl


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]