From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David T. Miller" To: help-gcc@gnu.org Subject: gnu C++ and X, Motif C++ code Date: Tue, 11 Jan 2000 08:20:00 -0000 Message-id: X-SW-Source: 2000-01/msg00121.html 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David T. Miller" To: help-gcc@gnu.org Subject: gnu C++ and X, Motif C++ code Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: X-SW-Source: 2000-q1/msg00121.html Message-ID: <20000401000000.MynBiJ7XnLxml9DMa5rimEFHKSBA0w-zmLa4-HwNcGw@z> 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