taocpp / taopq

C++ client library for PostgreSQL
Boost Software License 1.0
264 stars 40 forks source link

Test failed on macOS #41

Closed own2pwn closed 3 years ago

own2pwn commented 3 years ago
11.4 (20F71)
Found PostgreSQL: /usr/local/lib/libpq.dylib (found version "13.3")
AppleClang 12.0.5.12050022
cmake -GNinja . \
        -DCMAKE_BUILD_TYPE=Debug \
        -DCMAKE_CXX_STANDARD=17 \
        -DCMAKE_CXX_STANDARD_REQUIRED=ON && sudo ninja install
basic_datatypes.cpp:294:37: error: magnitude of floating-point constant too large for type 'long double'; maximum is 1.7976931348623157E+308 [-Werror,-Wliteral-range]
   check< long double >( "NUMERIC", 1e1001L );
d-frey commented 3 years ago

What system are you using? Is it an M1 Mac by any chance?