[Bug 1900] New: Fix OPENSSH_CHECK_CFLAG_COMPILE warnings

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri May 6 20:20:11 EST 2011


https://bugzilla.mindrot.org/show_bug.cgi?id=1900

           Summary: Fix OPENSSH_CHECK_CFLAG_COMPILE warnings
           Product: Portable OpenSSH
           Version: 5.8p2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Build system
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: g.esp at free.fr


Created attachment 2042
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2042
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.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list