From owner-freebsd-hackers Wed Apr 23 14:30:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA24528 for hackers-outgoing; Wed, 23 Apr 1997 14:30:05 -0700 (PDT) Received: from enst.enst.fr (0KXG5IoRgQQoXMJU1dkrxAQELaI+cVy7@enst.enst.fr [137.194.2.16]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA24523 for ; Wed, 23 Apr 1997 14:30:02 -0700 (PDT) Received: from email.enst.fr (email.enst.fr [137.194.168.17]) by enst.enst.fr (8.8.4/8.8.4) with ESMTP id XAA09678; Wed, 23 Apr 1997 23:29:29 +0200 (MET DST) Received: from nikopol.enst.fr (nikopol.enst.fr [137.194.168.105]) by email.enst.fr (8.8.4/8.8.4) with ESMTP id XAA14944; Wed, 23 Apr 1997 23:29:22 +0200 (MET DST) Received: (from fenyo@localhost) by nikopol.enst.fr (8.8.4/8.8.4) id XAA15682; Wed, 23 Apr 1997 23:29:20 +0200 (MET DST) To: Nanbor Wang Cc: hackers@freebsd.org X-WWW: http://home.eowyn.fr.eu.org/~fenyo/documents/axel.html X-PGP-Key: finger alex@eowyn.fr.eu.org X-NIC-Handle: AF713 X-Whois: whois -h whois.internic.net fenyo X-Pager: 06-04-30-75-94 (for emergency only) Organization: Ecole Nationale Superieure des Telecommunications de Paris Subject: Re: Any compiler guru? (Was: 2 questions about C++ support in 2.2) References: <199704231911.OAA17121@siesta.cs.wustl.edu> From: fenyo@email.enst.fr (Alex Fenyo (eowyn)) Date: 23 Apr 1997 23:29:19 +0200 In-Reply-To: Nanbor Wang's message of Wed, 23 Apr 1997 14:11:43 -0500 Message-ID: Lines: 12 X-Mailer: Red Gnus v0.50/XEmacs 19.14 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nanbor Wang writes: > However, I got caught by a possibly buggy behavior of g++ on FreeBSD. ^^^ [...] > gcc -w -I. -fno-strict-prototypes -D__ACE_INLINE__ -D_POSIX_THREADS ... ^^^^^^^^^^^^^^ You must be VERY careful using g++ and threads together : the way g++ manages exceptions in incompatible with threads, it makes use of hidden global variables ! Sincerly, Alexandre Fenyo