delorie.com/archives/browse.cgi | search |
From: | Reginald Johnson <johns_r AT cs DOT odu DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | list.h and math.h Compile errors |
Date: | Fri, 11 Sep 1998 16:10:11 -0400 |
Organization: | Old Dominion Universityaruba |
Lines: | 16 |
Message-ID: | <Pine.GSO.3.96.980911154731.9319A-100000@wave.cs.odu.edu> |
NNTP-Posting-Host: | wave.cs.odu.edu |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I'm trying to compile a C++ program that #includes both list.h, and math.h, and I keep getting errors that make is seem like some function in one is also declared in the other. All I want to do is take the sqrt() of a number so if somebody can please help me I would greatly appreciate it. when I compile I get the folloing errors c:/djgpp/include/math.h(73)Error: redefinition of 'class exception' c:/djgpp/include/math.h(79) Error:conflicts with new declaration with C linkage c:/djgpp/lib/gcc-lib/djgpp/2.81/include/exception(20) Error previous declaration of 'struct exception & exception::operator =(const struct exception &)' with c++ linkage
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |