Michael Ziege wrote:
Hi,
g++ -arch i386 -UWX_PRECOMP -c -I. -I../..
-I/usr/local/lib/wx/include/mac-ansi-release-2.8
-I/usr/local/include/wx-2.8 -fno-common -DPERL_DARWIN -no-cpp-precomp
-arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.5.sdk//usr/include/gcc
-B/Developer/SDKs/MacOSX10.5.sdk//usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.5.sdk//usr/include
-F/Developer/SDKs/MacOSX10.5.sdk//System/Library/Frameworks
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-I/opt/local/include -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\"
"-I/usr/local/lib/perl5/5.10.1/darwin-2level/CORE" -DWXPL_EXT
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ test.cpp
==> test.cpp:1:21: error: exception: No such file or directory
Sorry you had to be my guinea pig... now I'm home I reproduced the
problem on my Mac; the culprit is -nostdinc; I don't know why Ed had to
add it to Perl flags; removing it makes g++ find <exception>.
Regards,
Mattia