"Christian Christmann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I'm having a scientific program which is said to > be running on both Linux and Solaris. > When I compile and run the program on Linux > with gcc3.2.3 everything is fine. > On Solaris, I'm using gcc3.2.1. After compiling and > running the program I get a "Segmentation fault" > when running some particular functions. The > other functions are ok. > > What could be the reason for that run-time error?
Works on one system, fails on another... sounds like a classic case of "undefined behaviour" - i.e. a bug in your program. > Maybe a g++ bug? What makes you think that? If you can't find the source of the problem, try posting a minimal, compilable program that replicates the problem. -- Lionel B _______________________________________________ Help-gplusplus mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gplusplus
