Compiling GCC with g++: a report

Gabriel Dos Reis gdr@integrable-solutions.net
Wed May 25 05:01:00 GMT 2005


DJ Delorie <dj@redhat.com> writes:

| > The cases I've found in my conversion was when codes use plain
| > "0" instead of VOIDmode or whatever machine_mode is appropriate.
| > That use of plain 0 breaks compilation with a C++ compiler. 
| 
| If the #include isn't portable enough, just hard code a 42.  We'd need
| suitable changes for insn-modes.c et al (null mode_names should stop
| some of them!), but this was just to give you the idea ;-)

I'll get back to that later, when I'm done with the syntactical part :-)

-- Gaby



More information about the Gcc mailing list