Skip to content

Instantly share code, notes, and snippets.

@andandandand
Created December 18, 2017 22:31
Show Gist options
  • Save andandandand/8c2f5b8425940555acf0aa639b6073ef to your computer and use it in GitHub Desktop.
Save andandandand/8c2f5b8425940555acf0aa639b6073ef to your computer and use it in GitHub Desktop.

Revisions

  1. andandandand created this gist Dec 18, 2017.
    32 changes: 32 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    saucyio.cpp: In function ‘amorph_graph* amorph_read(const char*, int)’:
    saucyio.cpp:243:59: error: ‘to_string’ is not a member of ‘std’
    Rf_warning((std::string("invalid vertex in input: ") + std::to_string(j)).c_str());
    ^
    saucyio.cpp:247:59: error: ‘to_string’ is not a member of ‘std’
    Rf_warning((std::string("invalid vertex in input: ") + std::to_string(k)).c_str());
    ^
    In file included from saucyio.cpp:21:0:
    platform.h: At global scope:
    platform.h:99:14: warning: always_inline function might not be inlinable [-Wattributes]
    _inline void platform_set_user_signal(platform_callback_t *f) {
    ^
    platform.h:88:14: warning: always_inline function might not be inlinable [-Wattributes]
    _inline void platform_set_timer(int seconds, platform_callback_t *f) {
    ^
    platform.h:80:14: warning: always_inline function might not be inlinable [-Wattributes]
    _inline long platform_clock(void) {
    ^
    In file included from saucyio.cpp:20:0:
    util.h:36:1: warning: always_inline function might not be inlinable [-Wattributes]
    divide(int a, int b)
    ^
    util.h:30:1: warning: always_inline function might not be inlinable [-Wattributes]
    qsort_integers(int *a, int n)
    ^
    util.h:23:1: warning: always_inline function might not be inlinable [-Wattributes]
    integer_compare(const void *a, const void *b)
    ^
    make: *** [saucyio.o] Error 1
    ERROR: compilation failed for package ‘saucy’
    * removing ‘/home/antonio/R/x86_64-pc-linux-gnu-library/3.3/saucy’
    Installation failed: Command failed (1)