Changeset 9a486da for BOOK/prologue


Ignore:
Timestamp:
Sep 6, 2015, 9:43:19 PM (9 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
sysvinit
Children:
99b6ce1
Parents:
c7e75ec
git-author:
William Harrington <kb0iic@…> (09/06/15 21:43:17)
git-committer:
William Harrington <kb0iic@…> (09/06/15 21:43:19)
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/prologue/common/hostreqs.xml

    rc7e75ec r9a486da  
    134134makeinfo --version | head -n1
    135135xz --version | head -n1
    136 echo 'main(){}' | gcc -v -o /dev/null -x c - &gt; dummy.log 2>&amp;1
     136echo 'int main(){}' | gcc -v -o /dev/null -x c - &gt; dummy.log 2>&amp;1
    137137if ! grep -q ' error' dummy.log; then
    138138  echo "Compilation successful" &amp;&amp; rm dummy.log
Note: See TracChangeset for help on using the changeset viewer.