Skip to content

Instantly share code, notes, and snippets.

Created July 6, 2010 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/465444 to your computer and use it in GitHub Desktop.
Save anonymous/465444 to your computer and use it in GitHub Desktop.
Building file: ../src/Client.cpp
Invoking: GCC C++ Compiler
g++ -D__STDC_LIMIT_MACROS -DBOOST_SP_DISABLE_THREADS -DDEBUG -I"/home/junjun/include" -I../include -O0 -g3 -Wall -Werror -c -fmessage-length=0 -fno-strict-aliasing -fPIC -Wextra -Wno-unused-parameter -Wno-type-limits -fno-strict-aliasing -MMD -MP -MF"src/Client.d" -MT"src/Client.d" -o"src/Client.o" "../src/Client.cpp"
cc1plus: warnings being treated as errors
In file included from ../include/ParameterSet.hpp:32,
from ../include/Procedure.hpp:28,
from ../include/Client.h:29,
from ../src/Client.cpp:7:
../include/Decimal.hpp:48: error: integer constant is too large for ‘long’ type
In file included from ../include/ParameterSet.hpp:32,
from ../include/Procedure.hpp:28,
from ../include/Client.h:29,
from ../src/Client.cpp:7:
../include/Decimal.hpp: In constructor ‘voltdb::Decimal::Decimal(std::string)’:
../include/Decimal.hpp:82: error: conversion from ‘const int64_t’ to ‘const ttmath::Int<2u>’ is ambiguous
../include/ttmath/ttmathint.h:892: note: candidates are: ttmath::Int<value_size>::Int(const wchar_t*) [with unsigned int value_size = 2u] <near match>
../include/ttmath/ttmathint.h:883: note: ttmath::Int<value_size>::Int(const char*) [with unsigned int value_size = 2u] <near match>
../include/ttmath/ttmathint.h:805: note: ttmath::Int<value_size>::Int(ttmath::uint) [with unsigned int value_size = 2u]
../include/ttmath/ttmathint.h:750: note: ttmath::Int<value_size>::Int(ttmath::sint) [with unsigned int value_size = 2u]
../include/Decimal.hpp:106: error: conversion from ‘const int64_t’ to ‘const ttmath::Int<2u>’ is ambiguous
../include/ttmath/ttmathint.h:892: note: candidates are: ttmath::Int<value_size>::Int(const wchar_t*) [with unsigned int value_size = 2u] <near match>
../include/ttmath/ttmathint.h:883: note: ttmath::Int<value_size>::Int(const char*) [with unsigned int value_size = 2u] <near match>
../include/ttmath/ttmathint.h:805: note: ttmath::Int<value_size>::Int(ttmath::uint) [with unsigned int value_size = 2u]
../include/ttmath/ttmathint.h:750: note: ttmath::Int<value_size>::Int(ttmath::sint) [with unsigned int value_size = 2u]
../include/Decimal.hpp: In member function ‘std::string voltdb::Decimal::toString()’:
../include/Decimal.hpp:164: error: conversion from ‘const int64_t’ to ‘const ttmath::Int<2u>’ is ambiguous
../include/ttmath/ttmathint.h:892: note: candidates are: ttmath::Int<value_size>::Int(const wchar_t*) [with unsigned int value_size = 2u] <near match>
../include/ttmath/ttmathint.h:883: note: ttmath::Int<value_size>::Int(const char*) [with unsigned int value_size = 2u] <near match>
../include/ttmath/ttmathint.h:805: note: ttmath::Int<value_size>::Int(ttmath::uint) [with unsigned int value_size = 2u]
../include/ttmath/ttmathint.h:750: note: ttmath::Int<value_size>::Int(ttmath::sint) [with unsigned int value_size = 2u]
../include/Decimal.hpp:165: error: conversion from ‘const int64_t’ to ‘const ttmath::Int<2u>’ is ambiguous
../include/ttmath/ttmathint.h:892: note: candidates are: ttmath::Int<value_size>::Int(const wchar_t*) [with unsigned int value_size = 2u] <near match>
../include/ttmath/ttmathint.h:883: note: ttmath::Int<value_size>::Int(const char*) [with unsigned int value_size = 2u] <near match>
../include/ttmath/ttmathint.h:805: note: ttmath::Int<value_size>::Int(ttmath::uint) [with unsigned int value_size = 2u]
../include/ttmath/ttmathint.h:750: note: ttmath::Int<value_size>::Int(ttmath::sint) [with unsigned int value_size = 2u]
make: *** [src/Client.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment