Opened 9 years ago
Closed 9 years ago
#1052 closed task (fixed)
Final System Toolchain Adjust
Reported by: | William Harrington | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | CLFS Standard 3.1.0 |
Component: | BOOK | Version: | CLFS Standard GIT |
Keywords: | Cc: | berzerkula@…, jonathan@…, chris@… |
Description
GCC 5 has some new defaults.
View https://gcc.gnu.org/gcc-5/porting_to.html
gcc dummy.c dummy.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] main(){} ^
One is -Wimplicit-int. Rather than explain there is no issue, just add int to main:
echo 'int main(){}' > dummy.c
Keep it simple and proper.
Note:
See TracTickets
for help on using tickets.
Fixed at commit 9a486da830aee489c417c3e6363f5d0684411f35