Bug 1900

Summary: Fix OPENSSH_CHECK_CFLAG_COMPILE warnings
Product: Portable OpenSSH Reporter: Gilles Espinasse <g.esp>
Component: Build systemAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: minor CC: djm
Priority: P2    
Version: 5.8p2   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 1845    
Attachments:
Description Flags
fix warning from cvs configure.ac none

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