BF: C <-> C++ syntax difference
Code which compiles fine with gcc raises an error with g++: error: new types may not be defined in a return type
Sounds reasonable to me - I never knew that such a travesty could pass as valid C code.
This code was previously only compiled by gcc
in libgdc
. But now, due to the recent refactor, this code is being #include
d in C++ files.
Edited by Paul McCarthy