Ignore:
Timestamp:
Sep 6, 2015, 9:43:17 PM (9 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
master, systemd
Children:
794f16a
Parents:
e184030
Message:

Add int to main since GCC 5 returns defaults to int [-Wimplicit-int]. Suppress the warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/mips64/adjusting.xml

    re184030 rcc14b18  
    5050    <para>For N32 ABI:</para>
    5151
    52 <screen><userinput>echo 'main(){}' &gt; dummy.c
     52<screen><userinput>echo 'int main(){}' &gt; dummy.c
    5353gcc ${BUILDN32} dummy.c
    5454readelf -l a.out | grep ': /lib'</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.