Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upcorrect fread, fwrite, fopen return value #16
Conversation
SegFault42
added some commits
Jul 24, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
SegFault42
Jul 24, 2018
Contributor
another commit where i corrected all warning.
-fno-builtin is for this warning : warning: conflicting types for built-in function 'fwrite' [-Wbuiltin-declaration-mismatch]
the best is simply to chose another name for all reserved function name like fwrite ....
|
another commit where i corrected all warning. -fno-builtin is for this warning : the best is simply to chose another name for all reserved function name like fwrite .... |
Reisyukaku
merged commit b099883
into
Reisyukaku:master
Jul 24, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SegFault42 commentedJul 24, 2018
correction about issue #11.
fread, fopen and fwrite must return 0 or 1 with u32 return value.
if you want to keep u32 * return value you hace to cast to (void *)1.