From: Reginald Johnson 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: NNTP-Posting-Host: wave.cs.odu.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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