Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: [C Question] Determine if gcc provides erfl() function

by RichardK (Parson)
on May 29, 2015 at 09:26 UTC ( [id://1128245]=note: print w/replies, xml ) Need Help??


in reply to Re^2: [C Question] Determine if gcc provides erfl() function
in thread [C Question] Determine if gcc provides erfl() function

The man page for feature_test_macros has lots of details on how to use these, and the info page has even more.

But the easiest way is to set the compiler command line option -std=c99 to ensure that everything (compiler/libc) complies with the C99 standard.

  • Comment on Re^3: [C Question] Determine if gcc provides erfl() function

Replies are listed 'Best First'.
Re^4: [C Question] Determine if gcc provides erfl() function
by Anonymous Monk on May 29, 2015 at 20:15 UTC

    While those functions are, indeed, a normative part of ISO C99 standard, it unfortunately does not follow that passing an option to gcc might cause a fully compliant environment to magically spring into existence.

    OP is concerned about BSD systems; a reference to glibc manpages is simply misguided.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1128245]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found