4 messages in com.mysql.lists.pluspluscomplilation errors| From | Sent On | Attachments |
|---|---|---|
| David Birchfield | 11 Jan 2001 17:54 | |
| David Birchfield | 16 Jan 2001 16:34 | |
| Benjamin Grosman | 16 Jan 2001 17:45 | |
| Mr.Y.SHIVAKANT | 16 Jan 2001 18:46 |
| Subject: | complilation errors![]() |
|---|---|
| From: | David Birchfield (da...@music.columbia.edu) |
| Date: | 01/11/2001 05:54:04 PM |
| List: | com.mysql.lists.plusplus |
I am trying to compile the first simple example described in the tutorial but I get a number of compile errors which I have pasted below:
----------------------------------------- /usr/include/convert1.hh: At top level: /usr/include/convert1.hh:19: declaration of `double strtod (const char *, char **)' throws different exceptions /usr/include/stdlib.h:296: than previous declaration `double strtod (const char *, char **) throw ()' /usr/include/convert1.hh:36: declaration of `long int strtol (const char *, char **, int)' throws different exceptions /usr/include/stdlib.h:302: than previous declaration `long int strtol (const char *, char **, int) throw ()' /usr/include/convert1.hh:37: declaration of `long unsigned int strtoul (const char *, char **, int)' throws different exceptions /usr/include/stdlib.h:308: than previous declaration `long unsigned int strtoul (const char *, char **, int) throw ()' /usr/include/convert1.hh:61: declaration of `long long int strtoll (const char *, char **, int)' throws different exceptions
----------------------------------------
I am using g++ on Linux 7.0. Any suggestions as to what might be wrong?
Thanks in advance! David




