List of Changes
Resolved Requests from the Error Tracker
RQID________: 37
PRODUCT_____: TargetD64
COMPONENT___: Source Distribution
VERSION_____: V0.3
FIXED_VERS__: V0.3.1
OS__________: Linux
ORIGINATOR__: mrmeval@earthlink.net
TYPE________: Bug report
STATE_______: Resolved
SEVERITY____: High
DATE________: 28.06.03
SUBJECT_____: Binary segfaults and source will not compile.
DETAILS_____:
The binary just segfaults, the source does this in all the obj_* directories.
g++ -c -O5 -I ../src_foreign/zlib -I../src_foreign/VICE -I../src_foreign/lha -I../src/linux -DTD64_MODIFIED -pedantic-errors -pedantic ../src/TargetD64.cpp
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/strstream:51,
from ../src/TargetD64.cpp:53:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from ../src/TargetD64.cpp:59:
../src/Options.h:35: friend declaration requires class-key, i.e. `friend class CFOptions'
In file included from ../src/TargetD64.cpp:60:
../src/Profile.h:37: friend declaration requires class-key, i.e. `friend class CFProfile'
make: *** [TargetD64.o] Error 1
ANALYSIS____:
gcc >= 3.0 does a more strict syntax analysis on C++ and warns about the usage of deprecated headers.
CONCLUSION__:
Correct syntax and avoid deprecated headers.