gcc3_conversion. The branch tag is gcc3_conversion_branch.
I will start in the ygor source tree, both because it is the least updated of the three trees (ygor, gb, and gbt), and because it is required by everything else.
I have kept a list of the typical problems encountered during the conversion here.
Some directories in the following lists say "VxWorks only" or " Solaris only." These are marked so as a reminder that these are still compiled with GCC 2.7 or 2.95 (respectively), and thus not touched by GCC 3. However, they may #include common header files, so it is important to check them to ensure these common header files don't break these builds.
gbt have been converted, with the exception of Glish directories and sparc-solaris unit test directories. Total files modified number 596.
XTermDisplay were removed from SynthMgr. Made a simple change in CommonRules.mk so that makeDirs directories got put in the SUBDIRECTORIES first before the ARCHDIRS. This allowed libMcTime.a in LO1Manager/Manager/McTime to be built before the i386-linux and sparc-solaris directories, as both those needed it to link.
SpectrometerTest has no Makefile, is not made; there is also no unit_test directory.
expect, there is a file UsrInt.cc which implements an abort() function. gcc expects the abort() function to not return once called; this one does. Thus, the compiler emits: ../UsrInt.cc:319: warning: `noreturn' function does return. I don't know what this does and why it implements an abort(), so this warning will have to stay for the time being.
caltech, the libccb directory does not exist in this branch (it is not in CVS at all), thus the make fails.
Daemon, links with sparrow's python library libpython.2.3.a produces =warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
swig generated file gbt/user/python/lib/gbt_wrap.cc emmitting defined but not used warnings.
gb projects have been converted. 7 files modified in all.
ygor projects have been converted, except if noted otherwise below. Total number of files modified is 290.
ServerBase.cc, #define fds_bits __fds_bits works for 2.95, but 3.4 expects fds_bits. Currently this #define is commented out, so the code will only compile wint 3.4 until I figure out how to test for compiler version during compilation.
MCB library in Linux. Solaris unit tests do not link.
/home/aips++/mc/glish.
/home/aips++/mc/glish.
`tmpnam' is dangerous error. This is in libtcl8.0.a. This is similar to many other such linker warnings in the system build and will eventually have to be dealt with somehow.
/usr/local/lib/libgsoap++.a. A new libgsoap++.a will have to be compiled using GCC3.
| Topic Gcc3ConversionProgressNotes . { Edit | Attach | Ref-By | Printable | Diffs | r1.33 | > | r1.32 | > | r1.31 | More } |
|
Revision r1.33 - 22 Apr 2008 - 18:17 GMT - AmyShelton Parents: PlanOfRecordC82005 |
Content copyright © 1999-2007 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. |