This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Make error (gcc)




  Just a little bit more:

////////////////////////////////////////////////////////////////////////////
///
#if !defined(REAL_VALUE_ISNAN)
	#ifdef __WINDOWS__
		int ISNAN(double x);
	
		#define REAL_VALUE_ISNAN(x)	ISNAN(x)
	#else
		// For Unix
		extern int isnan(double);
		#define REAL_VALUE_ISNAN(x)	isnan(x)
	#endif
#endif	// REAL_VALUE_ISNAN
////////////////////////////////////////////////////////////////////////////
///
>-------snip----------
>In file included from real.h:18,
>                 from mylist.h:13,
>                 from neighval.h:22,
>                 from neighval.cpp:19:
>undefd.h:47: declaration of 	nt isnan (double)' throws different 
>exceptions
>/usr/include/bits/mathcalls.h:221: than previous declaration 	
>nt isnan 
>(double) throw ()'

  You should be able to fix this by either deleting the line that
says 'extern int isnan(double);' or replacing it with #include of
math.h.  It looks like the code is written for a very old unix system
that didn't declare these functions in its header files; you probably
don't need that any more on modern systems.


-- 
 All your base are belong to us!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]