Hello, I have a compiled version of Dolphin (Linux) and about 4 days ago I tried to update it and everything seemed to go fine until the building process (make command) got to 28-30%, then CMake canceled it and complained with this error (ignore the sentences that are in Spanish)
En el fichero incluido desde /home/asus/Git/dolphin/Source/Core/Common/IOFile.cpp:4:
In member function ‘void File::IOFile::ClearError()’,
inlined from ‘void File::IOFile::SetHandle(FILE*)’ at /home/asus/Git/dolphin/Source/Core/Common/IOFile.cpp:116:13:
/home/asus/Git/dolphin/Source/Core/Common/IOFile.h:119:18: error: argument 1 null where non-null expected [-Werror=nonnull]
119 | std::clearerr(m_file);
| ~~~~~~~~~~~~~^~~~~~~~
En el fichero incluido desde /usr/include/c++/13.2.1/cstdio:42,
desde /home/asus/Git/dolphin/Source/Core/Common/IOFile.h:8:
/usr/include/stdio.h: In member function ‘void File::IOFile::SetHandle(FILE*)’:
/usr/include/stdio.h:860:13: nota: in a call to function ‘void clearerr(FILE*)’ declared ‘nonnull’
860 | extern void clearerr (FILE *__stream) __THROW __nonnull ((1));
| ^~~~~~~~
cc1plus: algunos avisos se tratan como errores
make[2]: *** [Source/Core/Common/CMakeFiles/common.dir/build.make:496: Source/Core/Common/CMakeFiles/common.dir/IOFile.cpp.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
make[1]: *** [CMakeFiles/Makefile2:1578: Source/Core/Common/CMakeFiles/common.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
I already uninstalled my previous Dolphin compilation, deleted the source and did a git clone (I also updated the submodules) to build it it again... but nope, same result.
CMake and other dependencies required for compiling Dolphin were updated before the error happened, in case that matters.
Any help is appreciated.
En el fichero incluido desde /home/asus/Git/dolphin/Source/Core/Common/IOFile.cpp:4:
In member function ‘void File::IOFile::ClearError()’,
inlined from ‘void File::IOFile::SetHandle(FILE*)’ at /home/asus/Git/dolphin/Source/Core/Common/IOFile.cpp:116:13:
/home/asus/Git/dolphin/Source/Core/Common/IOFile.h:119:18: error: argument 1 null where non-null expected [-Werror=nonnull]
119 | std::clearerr(m_file);
| ~~~~~~~~~~~~~^~~~~~~~
En el fichero incluido desde /usr/include/c++/13.2.1/cstdio:42,
desde /home/asus/Git/dolphin/Source/Core/Common/IOFile.h:8:
/usr/include/stdio.h: In member function ‘void File::IOFile::SetHandle(FILE*)’:
/usr/include/stdio.h:860:13: nota: in a call to function ‘void clearerr(FILE*)’ declared ‘nonnull’
860 | extern void clearerr (FILE *__stream) __THROW __nonnull ((1));
| ^~~~~~~~
cc1plus: algunos avisos se tratan como errores
make[2]: *** [Source/Core/Common/CMakeFiles/common.dir/build.make:496: Source/Core/Common/CMakeFiles/common.dir/IOFile.cpp.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
make[1]: *** [CMakeFiles/Makefile2:1578: Source/Core/Common/CMakeFiles/common.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
I already uninstalled my previous Dolphin compilation, deleted the source and did a git clone (I also updated the submodules) to build it it again... but nope, same result.
CMake and other dependencies required for compiling Dolphin were updated before the error happened, in case that matters.
Any help is appreciated.