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
Building this package on a Ubuntu 22.04 system results with the compilation error:
radiant/main.cpp: In function ‘int mainRadiant(int, char**)’:
radiant/main.cpp:500:25: error: ‘nullptr’ was not declared in this scope
if ( xdg_state_home != nullptr ) {
^
radiant/main.cpp:515:24: error: ‘nullptr’ was not declared in this scope
if ( xdg_data_home != nullptr ) {
^
radiant/main.cpp:403:21: warning: ignoring return value of ‘int seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
seteuid( getuid() );
^
radiant/main.cpp:405:23: warning: ignoring return value of ‘int setuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
setuid( pw->pw_uid );
^
radiant/main.cpp: In function ‘void RunBsp(char*)’:
radiant/main.cpp:1196:25: warning: ignoring return value of ‘int pipe(int*)’, declared with attribute warn_unused_result [-Wunused-result]
pipe( process->pipes );
^
scons: *** [build/release/radiant/radiant/main.o] Error 1
scons: building terminated because of errors.
This error can be overcome by applying the following config.py patch below:
Building this package on a Ubuntu 22.04 system results with the compilation error:
This error can be overcome by applying the following
config.py
patch below:I have only tested my specific case, hence the reason for not submitting this as a PR
Hope this helps.
The text was updated successfully, but these errors were encountered: