This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gnu C++ and X, Motif C++ code
- To: help-gcc at gnu dot org
- Subject: gnu C++ and X, Motif C++ code
- From: "David T. Miller" <dmiller at thunder dot nws dot noaa dot gov>
- Date: Tue, 11 Jan 2000 16:19:42 +0000 (GMT)
Greetings!
We have installed gcc-2.95.2 on our HP-UX system (10.20). Some of our
routines use X and Motif C++ code. They compile and link fine. However,
when we try to run a routine, it crashes within the X/Motif code (illegal
signal). Upon debugging, the program stops when the routine tries to
build the first widget.
We had a similar problem using cfront via HP-UX. However, using a
compiler flag to allow dereferencing of null pointers at run-time fixed
that problem.
Now it's back again with gcc. Can you provide any insight of which
compiler flags might solve this problem?
The X/Motif is generated C++ code using a GUI builder UIM/X 2.9.
Thanks for any help!
Sincerely,
Dave Miller