[Bug 902] New: Compilation errors with 4.70 RC3 using Sun compiler

View: New views
2 Messages — Rating Filter:   Alert me  

[Bug 902] New: Compilation errors with 4.70 RC3 using Sun compiler

by Bugzilla from nigel@exim.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

------- 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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

[Bug 902] Compilation errors with 4.70 RC3 using Sun compiler

by Bugzilla from tom@duncanthrax.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=902

Tom Kistner <tom@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tom@...
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Tom Kistner <tom@...>  2009-11-09 14:31:46 ---
Fixed them. Thanks!


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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##