Skip to content

Instantly share code, notes, and snippets.

@arohner
Created June 14, 2012 23:12
Show Gist options
  • Select an option

  • Save arohner/2933587 to your computer and use it in GitHub Desktop.

Select an option

Save arohner/2933587 to your computer and use it in GitHub Desktop.
ree-1.8.7-2010.02 compile file
src/internal_logging.cc:56:41: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNO_FRAME_POINTER -fno-exceptions -g -O2 -c src/internal_logging.cc -o libtcmalloc_minimal_internal_la-internal_logging.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNO_FRAME_POINTER -fno-exceptions -g -O2 -c -o libtcmalloc_minimal_internal_la-system-alloc.lo `test -f 'src/system-alloc.cc' || echo './'`src/system-alloc.cc
g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNO_FRAME_POINTER -fno-exceptions -g -O2 -c src/system-alloc.cc -fPIC -DPIC -o .libs/libtcmalloc_minimal_internal_la-system-alloc.o
src/system-alloc.cc: In member function ‘virtual void* SbrkSysAllocator::Alloc(size_t, size_t*, size_t)’:
src/system-alloc.cc:169:19: error: expected type-specifier before ‘ptrdiff_t’
src/system-alloc.cc:169:19: error: expected ‘>’ before ‘ptrdiff_t’
src/system-alloc.cc:169:19: error: expected ‘(’ before ‘ptrdiff_t’
src/system-alloc.cc:169:19: error: ‘ptrdiff_t’ was not declared in this scope
src/system-alloc.cc:169:19: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’
/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’
src/system-alloc.cc:169:53: error: expected ‘)’ before ‘return’
make: *** [libtcmalloc_minimal_internal_la-system-alloc.lo] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment