Problem 758 - Compilation problem using FC4 (gcc-4.0.0) in geant4 installation in AMD64
Summary: Compilation problem using FC4 (gcc-4.0.0) in geant4 installation in AMD64
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 7.0
Hardware: PC Linux
: P2 critical
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2005-06-26 06:42 CEST by atique_iqubal
Modified: 2005-06-26 08:48 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description atique_iqubal 2005-06-26 06:42:54 CEST
In AMD64 + Fedora Core 4 system I am trying to install geant4.7.0.p01 alongwith
CLHEP-1.8.1.0.
While I go for gmake in $G4INSTALL/source directory, after few compilations it
gives the following warning.

Compiling G4UIcmdWith3VectorAndUnit.cc ...
In file included
from /usr/lib/gcc/x86_64-redhat-linux/4.0.0/../../../../include /c++/4.0.0/backward/strstream:51,
                 from include/G4UIparameter.hh:35,
                 from include/G4UIcommand.hh:32,
                 from include/G4UIcmdWith3Vector.hh:32,
                 from src/G4UIcmdWith3Vector.cc:29:
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/../../../../include/c++/4.0.0/backward/ba
ckward_warning.h:32:2: warning: #warning This file includes at least one
depreca ted or antiquated header. Please consider using one of the 32 headers
found in s ection 17.4.1.2 of the C++ standard. Examples include substituting
the <X> heade r for the <X.h> header for C++ includes, or <iostream> instead of
the deprecated  header <iostream.h>. To disable this warning use
-Wno-deprecated.

Kindly suggest the solution.


Regards

-Atique
Comment 1 Gabriele Cosmo 2005-06-26 08:48:59 CEST
The current (and older) versions of Geant4 are NOT supposed to work with
gcc-4.0.0. This compiler will be supported in future versions.
Please, read the release-notes and try to stick to the supported compiler versions
and systems listed in the release-notes.