On 12-05-30 13:42 , DJ Delorie wrote:
BUILD_CFLAGS= @BUILD_CFLAGS@ -DGENERATOR_FILE
+BUILD_CXXFLAGS = $(INTERNAL_CFLAGS) $(CXXFLAGS) -DGENERATOR_FILE
Why are these so different?
The rest seem OK
Ah, I missed adding BUILD_CXXFLAGS to configure.ac. Thanks.
OK to commit this amended
OK to commit this amended patch?
Ok. Do we have a build-with-c++ FAQ page anywhere? /me thinks it
will be useful soon ;-)
On 12-05-31 11:58 , DJ Delorie wrote:
OK to commit this amended patch?
Ok.
Thanks. Committed.
Do we have a build-with-c++ FAQ page anywhere? /me thinks it
will be useful soon ;-)
Not yet. If there are any FAQs, I propose adding them to
http://gcc.gnu.org/wiki/cxx-conversion and then
BUILD_CFLAGS= @BUILD_CFLAGS@ -DGENERATOR_FILE
+BUILD_CXXFLAGS = $(INTERNAL_CFLAGS) $(CXXFLAGS) -DGENERATOR_FILE
Why are these so different?
The rest seem OK
Found this while testing the C++ conversion for vec.[ch] on the
cxx-conversion branch. We do not build the build/*.o files with g++,
so I was getting lots of syntax errors while compiling build/vec.o.
I am not completely sure if the changes are correct. But it works for
me.
Tested on x86_64.
On 12-05-08 15:46 , Diego Novillo wrote:
Found this while testing the C++ conversion for vec.[ch] on the
cxx-conversion branch. We do not build the build/*.o files with g++,
so I was getting lots of syntax errors while compiling build/vec.o.
I am not completely sure if the changes are correct.