Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev

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

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


nigel at exim

Nov 9, 2009, 12:33 AM

Post #1 of 1 (359 views)
Permalink
[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 [at] exim
ReportedBy: nigel [at] exim
CC: exim-dev [at] exim


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

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.