g++ -O3 -I. -I. -INONE/include -D_REENTRANT -Wall -Wextra -pipe -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -pthread -c cvd_src/diskbuffer2.cc -o cvd_src/diskbuffer2.o
In file included from ./cvd/videoframe.h:33:0,
from ./cvd/localvideoframe.h:38,
from ./cvd/localvideobuffer.h:24,
from ./cvd/diskbuffer2.h:29,
from cvd_src/diskbuffer2.cc:23:
./cvd/image.h:193:11: error: ‘ptrdiff_t’ no nombra a un tipo
./cvd/image.h:568:97: error: ‘ptrdiff_t’ no se declaró en este ámbito
./cvd/image.h:568:97: nota: alternativas sugeridas:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: nota: ‘std::ptrdiff_t’
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: nota: ‘std::ptrdiff_t’
./cvd/image.h:568:106: error: el argumento de plantilla 3 es inválido
./cvd/internal/scalar_convert.h:112:21: aviso: se define ‘CVD::Pixel::Internal::init_float_for_byte’ pero no se usa [-Wunused-variable]
./cvd/internal/scalar_convert.h:113:21: aviso: se define ‘CVD::Pixel::Internal::init_double_for_byte’ pero no se usa [-Wunused-variable]
make: *** [cvd_src/diskbuffer2.o] Error 1
This, compiling with the g++ 4.6.3
And with the g++-4.4 following occurs:
g++-4.4 -O3 -I. -I. -INONE/include -D_REENTRANT -Wall -Wextra -pipe -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -pthread -c cvd_src/diskbuffer2.cc -o cvd_src/diskbuffer2.o