Bug 1900 - Fix OPENSSH_CHECK_CFLAG_COMPILE warnings
Summary: Fix OPENSSH_CHECK_CFLAG_COMPILE warnings
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 5.8p2
Hardware: All All
: P2 minor
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_5_9
  Show dependency treegraph
 
Reported: 2011-05-06 20:20 AEST by Gilles Espinasse
Modified: 2011-09-06 15:32 AEST (History)
1 user (show)

See Also:


Attachments
fix warning from cvs configure.ac (835 bytes, application/x-download)
2011-05-06 20:20 AEST, Gilles Espinasse
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Espinasse 2011-05-06 20:20:11 AEST
Created attachment 2042 [details]
fix warning from cvs configure.ac

Each time configure use OPENSSH_CHECK_CFLAG_COMPILE macro, those warning are written in config.log

conftest.c:22: warning: return type of 'main' is not 'int'
conftest.c: In function 'main':
conftest.c:22: warning: 'return' with a value, in function returning void

Changing the type of main() from void to int fix both warnings.
Comment 1 Damien Miller 2011-05-20 10:35:17 AEST
I'll fix this in the commit for 1901
Comment 2 Damien Miller 2011-05-20 11:45:45 AEST
fixed along with bug #1901 - thanks
Comment 3 Damien Miller 2011-09-06 15:32:51 AEST
close resolved bugs now that openssh-5.9 has been released