Date: Wed, 31 Dec 1969 23:59:59 +0000 ( ) From: Don Dugger <dugger@swn.com> To: questions@freebsd.org Subject: g++ question Message-ID: <ML-2.0.-1.7349.dugger@freedom.swn.com>
next in thread | raw e-mail | index | archive | help
Hi, This is not specificly a FreeBSD question, but the people on this list are generally fairly knowledgeable. I've been writting a C++ program that uses curses, it importend that it's platform independent. I started it at work on a Linux system. Then brought it home to my FreeBSD 2.1R system. But it won't link, the curses function calls are being looked for as C++ calls (mangled). I'm using the same version of the GNU compiler on both system. It's only the curses function that are having this problem. Is there something I need to do to tell the compile not to treat the curses calls as C++ and why doesn't it do this to other lib calls. Thx in advance.. Don 8) --------------------------------------------------------------- Don Dugger | e-mail: dugger@swn.com Engineering | Voice: (206) 885-0088 Securicor Wireless Networks | Fax: (206) 885-1087 15379 NE 90th Street | WWW: Coming Soon Redmond, WA. 98052 USA | ---------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ML-2.0.-1.7349.dugger>