This question appears to have been asked before but no satisfactory
answer was turned up by Google.
I have enabled C++ on a Carbon project (using MacCarbonHeaders) and am
finding compilation aborts with a large number of errors of the form:
Error : ')' expected
cmath.macos.h line 755 ((long double) nextafterd((double)(long double
x),(double)(long double y)))
Error : declaration syntax error
cmath.macos.h line 756 {return nextafterd((double)x, (double)y);}
This has been re****ted by others with CW6 & 8, and I am observing it
with CW7. Anyone have any idea if there is a workaround/fix for this
(other than hope for the best with 9)? I've fiddled with a few things
such as inline settings, order of access paths, but nothing seems to
help. I don't know if it's connected but the source files it's
attempting to compile are named '.c' even though C++ has been enabled
in the project settings.
--Toby