≡
[11:49:28] <adjivas> leon-anavi: morning too
[11:52:47] <leon-anavi> adjivas, how are you?
[11:55:35] <valhalla_> 'morning
[17:10:27] <Simonious_> board = esp32-evb this line in platformio.ini is creating this error: <command-line>:0:14: error: ISO C++11 requires whitespace after the macro name [-Werror] - any clue where I look for this problem?
[17:10:48] <Simonious_> I blame this line, because if I compile for a different target these errors do not occur.
[17:24:58] <diego71_> Simonious_: try without the -Werror flag in the compiler option
[17:31:01] <Simonious_> ACTION laughs
[17:31:04] <Simonious_> just avoid the problem eh?
[17:32:10] <diego71_> Simonious_: it's possible that with other platform the option is not defined, and so you got no error...
[17:32:56] <Simonious_> that's not it: build_flags = -Wall -Wextra -Wno-unused-parameter -Wl,-Map,out.map -Werror
[17:33:04] <Simonious_> (that is for the other board)
[17:35:17] <diego71_> It's strange that <command-line>:0:14, as if it is reading the source from stdin, instead from file ...
[17:35:51] <diego71_> Simonious_: try to put some obvious error in the source and compile with a different platform
[17:36:46] <Simonious_> <command-line>:0:14: warning: ISO C99 requires whitespace after the macro name (removed -Werror, have obvious errors now) next line:
[17:36:49] <Simonious_> src/main.cpp:35:1: error: 'CAN_device_t' does not name a type
[17:54:28] <diego71_> so probably, the command-line things is right
[17:55:03] <diego71_> Simonious_: check if some macros definition is passed as an argoument to gcc (or g++)
[17:56:26] <diego71_> it should be something like -D macroname ...
[18:07:02] <Simonious_> diego71_: it's not in the makefile or the platformio.ini file, those files are both common for each target, the line of difference is the one I led with above.
[18:07:09] <Simonious_> so I don't know where to look
[18:07:39] <Simonious_> board = esp32-evb
[18:07:47] <Simonious_> that points at _something_ that isn't right
[18:07:59] <Simonious_> but I don't know where to look to find that something
[18:10:30] <diego71_> sorry, I can't think anything else
[18:11:10] <diego71_> In arduino platform I think shuold be a platforms.txt or similar
[18:13:22] <Simonious_> ACTION ponders
[18:13:38] <Simonious_> I've used arduino platform almost exclusively on various targets for a year using platformio.ini
[21:39:41] <stereo_> hi, does anyone know, if the keyboard connector of the teres-I laptop is compatible with the one in the pinebook?
IRC #olimex 2018-05-23
[10:35:48] <leon-anavi> morning[11:49:28] <adjivas> leon-anavi: morning too
[11:52:47] <leon-anavi> adjivas, how are you?
[11:55:35] <valhalla_> 'morning
[17:10:27] <Simonious_> board = esp32-evb this line in platformio.ini is creating this error: <command-line>:0:14: error: ISO C++11 requires whitespace after the macro name [-Werror] - any clue where I look for this problem?
[17:10:48] <Simonious_> I blame this line, because if I compile for a different target these errors do not occur.
[17:24:58] <diego71_> Simonious_: try without the -Werror flag in the compiler option
[17:31:01] <Simonious_> ACTION laughs
[17:31:04] <Simonious_> just avoid the problem eh?
[17:32:10] <diego71_> Simonious_: it's possible that with other platform the option is not defined, and so you got no error...
[17:32:56] <Simonious_> that's not it: build_flags = -Wall -Wextra -Wno-unused-parameter -Wl,-Map,out.map -Werror
[17:33:04] <Simonious_> (that is for the other board)
[17:35:17] <diego71_> It's strange that <command-line>:0:14, as if it is reading the source from stdin, instead from file ...
[17:35:51] <diego71_> Simonious_: try to put some obvious error in the source and compile with a different platform
[17:36:46] <Simonious_> <command-line>:0:14: warning: ISO C99 requires whitespace after the macro name (removed -Werror, have obvious errors now) next line:
[17:36:49] <Simonious_> src/main.cpp:35:1: error: 'CAN_device_t' does not name a type
[17:54:28] <diego71_> so probably, the command-line things is right
[17:55:03] <diego71_> Simonious_: check if some macros definition is passed as an argoument to gcc (or g++)
[17:56:26] <diego71_> it should be something like -D macroname ...
[18:07:02] <Simonious_> diego71_: it's not in the makefile or the platformio.ini file, those files are both common for each target, the line of difference is the one I led with above.
[18:07:09] <Simonious_> so I don't know where to look
[18:07:39] <Simonious_> board = esp32-evb
[18:07:47] <Simonious_> that points at _something_ that isn't right
[18:07:59] <Simonious_> but I don't know where to look to find that something
[18:10:30] <diego71_> sorry, I can't think anything else
[18:11:10] <diego71_> In arduino platform I think shuold be a platforms.txt or similar
[18:13:22] <Simonious_> ACTION ponders
[18:13:38] <Simonious_> I've used arduino platform almost exclusively on various targets for a year using platformio.ini
[21:39:41] <stereo_> hi, does anyone know, if the keyboard connector of the teres-I laptop is compatible with the one in the pinebook?