| Summary: | anachronistic old-style base class initializer in G4UItokenNum.hh | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Iwan Cornelius <iwan.cornelius> |
| Component: | intercoms | Assignee: | Koichi Murakami <Koichi.Murakami> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | iwancornelius, Koichi.Murakami, turks.jpg |
| Priority: | P5 | ||
| Version: | 9.6 | ||
| Hardware: | SGI | ||
| OS: | Linux | ||
|
Description
Iwan Cornelius
2012-12-15 12:34:03 CET
I also checked on SUSE linux. The build works without any warnings and errors. # gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) I believe the problem arose from use of the 'I' variable name in G4UItokenNum, something to do with Complex Numbers GNU extensions perhaps? Anyway, just wanted to let you know that I fixed the problem by adding #undef I at line 60 of G4UItokenNum.hh Regards, Iwan Bug was encountered in Linux Mint 13 with the following g++ build: Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) |