[exim-dev] [Bug 902] New: Compilation errors with 4.70 RC3 u…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Nigel Metheringham
日付:  
To: exim-dev
題目: [exim-dev] [Bug 902] New: Compilation errors with 4.70 RC3 using Sun compiler
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=902
           Summary: Compilation errors with 4.70 RC3 using Sun compiler
           Product: Exim
           Version: 4.69
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: high
         Component: Packaging
        AssignedTo: nigel@???
        ReportedBy: nigel@???
                CC: exim-dev@???



Reported by Jack Bailey

I'm compiling with Sun Studio 12 and getting quite a few warnings. CentOS-5.4.

/opt/SUNWspro/bin/cc -O -I/usr/local/include -xtarget=pentium4 -fast -v pdkim.c
"pdkim.c", line 164: warning: syntax error: empty declaration
"pdkim.c", line 175: warning: syntax error: empty declaration
"pdkim.c", line 194: warning: syntax error: empty declaration
"pdkim.c", line 209: warning: syntax error: empty declaration
"pdkim.c", line 212: warning: syntax error: empty declaration
"pdkim.c", line 217: warning: syntax error: empty declaration
"pdkim.c", line 230: warning: syntax error: empty declaration
"pdkim.c", line 235: warning: syntax error: empty declaration
"pdkim.c", line 240: warning: syntax error: empty declaration
"pdkim.c", line 291: warning: syntax error: empty declaration
"pdkim.c", line 301: warning: syntax error: empty declaration
"pdkim.c", line 404: warning: syntax error: empty declaration
"pdkim.c", line 911: warning: syntax error: empty declaration
"pdkim.c", line 979: warning: syntax error: empty declaration
"pdkim.c", line 1109: warning: syntax error: empty declaration
"pdkim.c", line 1167: warning: syntax error: empty declaration
"pdkim.c", line 1692: warning: syntax error: empty declaration
"pdkim.c", line 1699: warning: syntax error: empty declaration
"pdkim.c", line 1731: warning: syntax error: empty declaration

/opt/SUNWspro/bin/cc -O -I/usr/local/include -xtarget=pentium4 -fast -v dkim.c
"dkim.c", line 528: warning: syntax error: empty declaration

Many/most/all of these are caused by semi-colons following curly braces.

Here's another which I did not investigate:

/opt/SUNWspro/bin/cc -O -I/usr/local/include -xtarget=pentium4 -fast -v mime.c
"mime.c", line 109: warning: argument #1 is incompatible with prototype:
      prototype: pointer to char : "/usr/include/stdio.h", line 532
      argument : pointer to unsigned char



--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email