delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/11/07/10:22:18

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <20031107145512.99333.qmail@web13009.mail.yahoo.com>
Date: Fri, 7 Nov 2003 06:55:12 -0800 (PST)
From: Thomas Tutone <thomas8675309 AT yahoo DOT com>
Subject: Re: linker error: undefined reference to: '___gxx_personality_v0'
To: djgpp AT delorie DOT com
MIME-Version: 1.0

Andrew Cottrell wrote:

>> #include <string.h>

> This is a C++ header.

Actually, it's not.  <string> is a C++ header that
includes prototypes for the C++ std::string class. 
<string.h>, on the other hand, is an ordinary C header
that includes the function prototypes for such C
library functions as memcmp, memcpy, memmove, memset,
strcat, strcmp, and strcpy.  The C++ header that
corresponds to <string.h> is <cstring>.  For the
solution to the OP's problem, please see my other post
in this thread - he needs to change his file extension
from an UPPERCASE C to a lowercase c and to #include
<stdbool.h>.

Best regards,

Tom

















Best regards,

Tom

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019