>
>
>  Thanks, but now it complains about missing "std::" for isnan.  With this 
diff - https://gist.github.com/dmitris/5420842, it compiles 
fine: https://gist.github.com/dmitris/5420842

 My clang version is:
$ clang --version
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
 

$ make native
  CXX(target) 
dev/hack/bleeding-v8/out/native/obj.target/cctest/test/cctest/test-api.o
../test/cctest/test-api.cc:3347:15: error: use of undeclared identifier 
'isnan'; did you
      mean 'std::isnan'?
  CHECK_NE(0, isnan(number_value));
              ^~~~~
              std::isnan
../src/checks.h:224:36: note: expanded from macro 'CHECK_NE'
  #unexpected, unexpected, #value, value)
                                   ^
/usr/include/c++/4.2.1/cmath:550:5: note: 'std::isnan' declared here
    isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
    ^
../test/cctest/test-api.cc:15448:7: error: use of undeclared identifier 
'isnan'; did you
      mean 'std::isnan'?
  if (isnan(input) || input < -date_limit || input > date_limit) {
      ^~~~~
      std::isnan
/usr/include/c++/4.2.1/cmath:550:5: note: 'std::isnan' declared here
    isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
    ^
../test/cctest/test-api.cc:15509:10: error: use of undeclared identifier 
'isnan'; did you
      mean 'std::isnan'?
    if (!isnan(test_value)) {
         ^~~~~
         std::isnan
/usr/include/c++/4.2.1/cmath:550:5: note: 'std::isnan' declared here
    isnan(_Tp __f) { return ::__gnu_cxx::__capture_isnan(__f); }
    ^
../test/cctest/test-api.cc:15528:10: error: use of undeclared identifier 
'isnan'; did you
      mean 'std::isnan'?
    if (!isnan(expected_stored_date)) {
         ^~~~~
         std::isnan
/usr/include/c++/4.2.1/cmath:550:5: note: 'std::isnan' declared here 

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to