You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Owing to changes in the locale kit, the x86 Pe package no longer launches. When attempting to rebuild it via HaikuPorter though, I see errors such as:
Languages/Sources/Lout_Popup.l:71:62: error: invalid initialization of non-const reference of type 'yy_size_t& {aka long unsigned int&}' from an rvalue of type 'yy_size_t {aka long unsigned int}'
#define YY_INPUT(tok,result,max) GetNextChar(tok, result, max)
^
generated/objects-nodebug/Languages/Sources/Lout_Popup.cpp:1303:3: note: in expansion of macro 'YY_INPUT'
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
This appears to be due to the yy_n_chars variable being declared as a simple static int, while GetNextChar expects it to be a yy_size_t ; however, said variable is, as best I can tell, automatically generated by flex/bison themselves, at least I find no explicit declaration of it anywhere, so I'm uncertain as to how to fix it. This is on hrev51190, with Flex 2.6.1 and Bison 3.0.4.
The text was updated successfully, but these errors were encountered:
Owing to changes in the locale kit, the x86 Pe package no longer launches. When attempting to rebuild it via HaikuPorter though, I see errors such as:
Languages/Sources/Lout_Popup.l:71:62: error: invalid initialization of non-const reference of type 'yy_size_t& {aka long unsigned int&}' from an rvalue of type 'yy_size_t {aka long unsigned int}'
#define YY_INPUT(tok,result,max) GetNextChar(tok, result, max)
^
generated/objects-nodebug/Languages/Sources/Lout_Popup.cpp:1303:3: note: in expansion of macro 'YY_INPUT'
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
This appears to be due to the yy_n_chars variable being declared as a simple static int, while GetNextChar expects it to be a yy_size_t ; however, said variable is, as best I can tell, automatically generated by flex/bison themselves, at least I find no explicit declaration of it anywhere, so I'm uncertain as to how to fix it. This is on hrev51190, with Flex 2.6.1 and Bison 3.0.4.
The text was updated successfully, but these errors were encountered: