... repio.cc: In function 'int repair_getdfile(char*, int, int*, listhdr**)': repio.cc:185: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result repio.cc:193: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result repio.cc:195: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result repio.cc:212: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result repio.cc:216: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result repio.cc:220: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result repio.cc:224: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result repio.cc: In function 'int repair_parseline(char*, repair*)': repio.cc:359: warning: deprecated conversion from string constant to 'char*' repio.cc:359: warning: deprecated conversion from string constant to 'char*' repio.cc: In function 'int repair_parsefile(char*, int*, listhdr**)': repio.cc:416: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result repio.cc: In function 'int growarray(char**, int*, int)': repio.cc:465: warning: deprecated conversion from string constant to 'char*' repio.cc:465: warning: deprecated conversion from string constant to 'char*' repio.cc: In function 'int acldecode(char*, unsigned int*)': repio.cc:497: warning: deprecated conversion from string constant to 'char*' repio.cc:498: warning: deprecated conversion from string constant to 'char*' repio.cc: In function 'void repair_printline(repair*, FILE*)': repio.cc:530: warning: deprecated conversion from string constant to 'char*' repio.cc:531: warning: deprecated conversion from string constant to 'char*' repio.cc:532: warning: deprecated conversion from string constant to 'char*' repio.cc:533: warning: deprecated conversion from string constant to 'char*' repio.cc:534: warning: deprecated conversion from string constant to 'char*' repio.cc:535: warning: deprecated conversion from string constant to 'char*' repio.cc:536: warning: deprecated conversion from string constant to 'char*' repio.cc:537: warning: deprecated conversion from string constant to 'char*' repio.cc:538: warning: deprecated conversion from string constant to 'char*' repio.cc:539: warning: deprecated conversion from string constant to 'char*' repio.cc:540: warning: deprecated conversion from string constant to 'char*' repio.cc:541: warning: deprecated conversion from string constant to 'char*' repio.cc:542: warning: deprecated conversion from string constant to 'char*' In file included from /usr/include/fcntl.h:217, from /usr/include/sys/file.h:25, from repio.cc:72: /usr/include/bits/fcntl2.h: In function 'int repair_putdfile(char*, int, listhdr*)': /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments Reproducible: Always
*** This bug has been marked as a duplicate of bug 264112 ***