nikita@ubuntu:~/bmcweb$ ninja -C builddir
ninja: Entering directory `builddir'
[1/24] Compiling C++ object 'subprojects/tinyxml2-7.0.1/ce97265@@xmltest@exe/xmltest.cpp.o'.
FAILED: subprojects/tinyxml2-7.0.1/ce97265@@xmltest@exe/xmltest.cpp.o 
c++ -Isubprojects/tinyxml2-7.0.1/ce97265@@xmltest@exe -Isubprojects/tinyxml2-7.0.1 -I../subprojects/tinyxml2-7.0.1 -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -Werror -std=c++17 -fno-rtti -O2 -g -MD -MQ 'subprojects/tinyxml2-7.0.1/ce97265@@xmltest@exe/xmltest.cpp.o' -MF 'subprojects/tinyxml2-7.0.1/ce97265@@xmltest@exe/xmltest.cpp.o.d' -o 'subprojects/tinyxml2-7.0.1/ce97265@@xmltest@exe/xmltest.cpp.o' -c ../subprojects/tinyxml2-7.0.1/xmltest.cpp
../subprojects/tinyxml2-7.0.1/xmltest.cpp: In function ‘int main(int, const char**)’:
../subprojects/tinyxml2-7.0.1/xmltest.cpp:707:10: error: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Werror=unused-result]
  707 |     fgets( savedBuf, 256, saved );
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/tinyxml2-7.0.1/xmltest.cpp:1067:9: error: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Werror=unused-result]
 1067 |    fgets( buf, 1024, textfile );
      |    ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[2/24] Compiling C++ object 'subprojects/tinyxml2-7.0.1/ce97265@@tinyxml2@sha/tinyxml2.cpp.o'.^C
ninja: build stopped: interrupted by user.
 
 
 
 
I have this problem them i print command : ninja -C builddir
How to fix this ?
 


25.02.2021, 18:20, "Parishrut Bhatia" <parishrutb@gmail.com>:
Hello,

Requesting feedback on the current iteration of new Hardware status and inventory screens in the WebUI:
https://github.com/openbmc/webui-vue/issues/54
Thanks in advance,
Parishrut Bhatia
User Experience Designer | IBM iX, Bangalore
+91 9811 930 069

"Everyone wants to go to heaven, but no one wants to die."