Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error with intel c compiler (c++11) #30

Closed
htower opened this issue Apr 10, 2014 · 1 comment
Closed

build error with intel c compiler (c++11) #30

htower opened this issue Apr 10, 2014 · 1 comment

Comments

@htower
Copy link

htower commented Apr 10, 2014

I've been trying to compile your library with intel c compiler and -std=c++11 flag enabled:

format.cc(55): error: more than one instance of overloaded function "signbit" matches the argument list:
function "signbit(double)"
function "std::signbit(double)"
argument types are: (double)
return signbit(value);
^

compilation aborted for format.cc (code 2)

$ icc -v
$ icc version 14.0.2 (gcc version 4.6.0 compatibility)

with -std=gnu++98 (default) everything is good.

@vitaut
Copy link
Contributor

vitaut commented Apr 10, 2014

Fixed in f2e0680. Thanks!

@vitaut vitaut closed this as completed Apr 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants