For those who may care - three patches are required to build FSL 4.1.8 using gcc 4.5.1 (on Fedora 14 x86_64). They are all related to actual problems (rather than peculiarities of the compiler).
Best,
Torsten
1. missing declaration of std::numeric_limits<>
diff -r fsl-4.1.8/src/fabber/tools.cc /fs/p00/torsten/x86_64/fsl418/src/fabber/tools.cc
71a72,73
> #include <limits>
>
2. variable name cannot have space:
diff -r fsl-4.1.8/src/melodic/Makefile /fs/p00/torsten/x86_64/fsl418/src/melodic/Makefile
6c6
< OPTFLAGS_alphaev6-dec-osf 5.0-gcc2.95.2 = -O3 -mieee -mfp-trap-mode=sui
---
> OPTFLAGS_alphaev6-dec-osf5.0-gcc2.95.2 = -O3 -mieee -mfp-trap-mode=sui
3. identical function argument names used multiple times in one function prototype:
diff -r fsl-4.1.8/src/possum/possumfns.h /fs/p00/torsten/x86_64/fsl418/src/possum/possumfns.h
14c14
< const double* b0, const double* b0gxx,const double* b0gyy,const double* b0gzz,
---
> const double* b0time, const double* b0xtime,const double* b0ytime,const double* b0ztime,
|