Opened 9 years ago

Closed 9 years ago

#1052 closed task (fixed)

Final System Toolchain Adjust

Reported by: William Harrington Owned by: clfs-commits@…
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.

Change History (1)

comment:1 by William Harrington, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.