When trying to compile the attached source file with $ ~/gcc/bin/g++ --version g++ (GCC) 4.2.0 20051121 (experimental)
with the options /Users/eschnett/gcc/bin/g++ -DCARPET_INT -DCARPET_REAL -DCARPET_COMPLEX -mlongcall -ftrapv -fwrapv -fbounds-check -g3 -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Woverloaded-virtual -c -o $current_wd/patch_system.cc.o $current_wd/patch_system.cc -I"/sw/include" -I"/sw/include" -I"/Users/eschnett/petsc-2.1.6/include" -I"/Users/eschnett/petsc-2.1.6/bmake/macx" -I"/Users/eschnett/Cvanilla/arrangements/AEIThorns/AHFinderDirect/src" -I"/Users/eschnett/Cvanilla/arrangements/AEIThorns/AHFinderDirect/src/include" -I"/Users/eschnett/Cvanilla/configs/einstein-orange-gcc-debug/config-data" -I"/Users/eschnett/Cvanilla/configs/einstein-orange-gcc-debug/bindings/include" -I"/Users/eschnett/Cvanilla/src/include" -I"/Users/eschnett/Cvanilla/arrangements" -I"/Users/eschnett/Cvanilla/configs/einstein-orange-gcc-debug/bindings/Configuration/Thorns" -I"/Users/eschnett/Cvanilla/arrangements/AEIThorns/AHFinderDirect/src/patch" -I"/Users/eschnett/Cvanilla/arrangements/AEIThorns/AHFinderDirect/src/patch/include" -DTHORN_IS_AHFinderDirect -DCCODE then I receive errors beginning with /Users/eschnett/gcc/lib/gcc/powerpc-apple-darwin8.3.0/4.2.0/../../../../include/c++/4.2.0/ctime:69: error: ‘::tm’ has not been declared /Users/eschnett/gcc/lib/gcc/powerpc-apple-darwin8.3.0/4.2.0/../../../../include/c++/4.2.0/ctime:71: error: ‘::clock’ has not been declared /Users/eschnett/gcc/lib/gcc/powerpc-apple-darwin8.3.0/4.2.0/../../../../include/c++/4.2.0/ctime:72: error: ‘::difftime’ has not been declared -- Summary: Error in header file: ctime:69: error: ‘::tm’ has not been declared Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schnetter at aei dot mpg dot de GCC build triplet: powerpc-apple-darwin8.3.0 GCC host triplet: powerpc-apple-darwin8.3.0 GCC target triplet: powerpc-apple-darwin8.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24970