TrampolineRTOS/trampoline

Goil compilation fails on Linux

Closed this issue · 1 comments

The goil compilation fails on Linux 64 bits (master branch, yesterday). It seems to be related to libpm:

In file included from ../build/libpm/galgas2/all-galgas.cpp:40:0:
../build/libpm/galgas2/GALGAS_char.cpp: In static member function ‘static GALGAS_char GALGAS_char::constructor_unicodeCharacterFromRawKeyboard(C_Compiler*)’:
../build/libpm/galgas2/GALGAS_char.cpp:101:33: error: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Werror=unused-result]
     read (STDIN_FILENO, & c, 1) ;
                                 ^

The gcc version: gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4, with Ubuntu 14.04.

fixed in galgas 3.2.15. Update goil generated files in a3f0114