www.smartbusinesschoices.com

Leading Business and Technology,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

fpclassify not found
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux - Help  
View previous topic :: View next topic  
Author Message
John Smith
Guest






PostPosted: Thu Oct 30, 2008 11:17 pm    Post subject: fpclassify not found Reply with quote

#include <math.h>

// snip

double x = foo();

int i = fpclassify(x);

// error: 'fpclassify' was not declared in this scope

man fpclassify indicates that math.h must be included, but still can't find
fpclassify().
Back to top
Scott Hemphill
Guest






PostPosted: Fri Oct 31, 2008 5:39 pm    Post subject: Re: fpclassify not found Reply with quote

"John Smith" <invalid@example.com> writes:

Quote:
#include <math.h

// snip

double x = foo();

int i = fpclassify(x);

// error: 'fpclassify' was not declared in this scope

man fpclassify indicates that math.h must be included, but still can't find
fpclassify().

Read farther in the man page. You need to either define feature test
macros, or compile with -std=c99

Scott
--
Scott Hemphill hemphill@alumni.caltech.edu
"This isn't flying. This is falling, with style." -- Buzz Lightyear
Back to top
Display posts from previous:   
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux - Help  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum