[plt-scheme] Compile error under Tiger
I don't know if anyone else has gotten DrScheme to build under Mac OS
10.4 or not, but I'm going to contribute my compile error in case it's
new. I've gotten the following build error using both version 4.0 and
version 3.3 of g++ (Tiger's default and Panther's default,
respectively; 3.3 under Panther gives no error). I've included the
text from both versions.
It's possible this error is due to some misconfiguration on my part,
but the build process gets through lots of files before it blows up so
that seems unlikely. Let me know if there's anything else I should
try to make this work.
g++-3.3 -I./../mzscheme/gc -I./../wxmac/include/base
-I./../wxmac/include/mac -I./../wxcommon -I./../a-list/c-headers/
-I./../mred/wxme/ -I./../mzscheme/ -I./../mzscheme/include/
-fno-common -fpascal-strings -DOPERATOR_NEW_ARRAY -Dwx_mac -g -O2
-fno-rtti -DOS_X -I./../mac/mzscheme -MMD -DWX_CARBON -c
./mredmac.cxx -o mredmac.o
mredmac.cxx: In function `void* do_watch(void*)':
mredmac.cxx:1033: error: `read' undeclared (first use this function)
mredmac.cxx:1033: error: (Each undeclared identifier is reported only once for
each function it appears in.)
mredmac.cxx:1043: error: `write' undeclared (first use this function)
mredmac.cxx: In function `int StartFDWatcher(void (*)(float, void*), float,
void*)':
mredmac.cxx:1061: error: `pipe' undeclared (first use this function)
mredmac.cxx: In function `int ae_marshall(AEDescList*, AEDescList*, long
unsigned int, Scheme_Object*, char*, OSErr*, char**)':
mredmac.cxx:1462: warning: return to non-pointer type `int' from NULL
mredmac.cxx:1462: warning: argument to non-pointer type `int' from NULL
g++ -I./../mzscheme/gc -I./../wxmac/include/base
-I./../wxmac/include/mac -I./../wxcommon -I./../a-list/c-headers/
-I./../mred/wxme/ -I./../mzscheme/ -I./../mzscheme/include/
-fno-common -cpp-precomp -fpascal-strings -DOPERATOR_NEW_ARRAY
-Dwx_mac -Wall -g -O2 -DOS_X -I./../mac/mzscheme -MMD -DWX_CARBON
-c ./mredmac.cxx -o mredmac.o
powerpc-apple-darwin8-g++-4.0.0: unrecognized option `-cpp-precomp'
./mredmac.cxx: In function `void* do_watch(void*)':
./mredmac.cxx:1033: error: 'read' was not declared in this scope
./mredmac.cxx:1043: error: 'write' was not declared in this scope
./mredmac.cxx:1047: error: 'write' was not declared in this scope
./mredmac.cxx: In function `int StartFDWatcher(void (*)(float, void*),
float, void*)':
./mredmac.cxx:1061: error: 'pipe' was not declared in this scope
./mredmac.cxx:1071: error: 'pipe' was not declared in this scope
./mredmac.cxx:1090: error: 'write' was not declared in this scope
./mredmac.cxx: In function `void EndFDWatcher()':
./mredmac.cxx:1105: error: 'read' was not declared in this scope
./mredmac.cxx: In function `void MrEdMacSleep(float, void*, void
(*)(float, void*))':
./mredmac.cxx:1159: error: 'pipe' was not declared in this scope
./mredmac.cxx:1210: error: 'read' was not declared in this scope
./mredmac.cxx: In function `int ae_marshall(AEDescList*, AEDescList*,
AEKeyword, Scheme_Object*, char*, OSErr*, char**)':
./mredmac.cxx:1462: warning: converting to non-pointer type 'int' from NULL