<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hey Everyone,<br>
<br>
We are getting a compile error for Dovecot 2.2.34 on Solaris
11.3 x86, using Solaris Studio 12.6 compiler, and it doesn't occur
with Dovecot 2.2.33.<br>
<blockquote><font face="Courier New, Courier, monospace">Making all
in charset-alias</font><br>
<font face="Courier New, Courier, monospace">source='charset-alias-plugin.c'
object='charset-alias-plugin.lo' libtool=yes \</font><br>
<font face="Courier New, Courier, monospace">DEPDIR=.deps
depmode=none /bin/sh ../../../depcomp \</font><br>
<font face="Courier New, Courier, monospace">/bin/sh
../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H
-I. -I../../.. -I../../../src/lib -I../../../src/lib-master
-I../../../src/lib-mail -I../../../src/lib-charset
-I../../../src/lib-index -I../../../src/lib-storage -m64
-I/usr/local/include -I/usr/mysql/5.7/include
-I/usr/local/include/sasl -I/usr/include -L/usr/local/lib
-L/usr/local/lib/sasl2 -L/usr/mysql/5.7/lib/64 -L/usr/lib/64
-L/usr/lib -R/usr/local/lib -R/usr/local/lib/sasl2
-R/usr/mysql/5.7/lib/64 -R/usr/lib/64 -R/usr/lib -m64
-I/usr/local/include -I/usr/mysql/5.7/include
-I/usr/local/include/sasl -I/usr/include -L/usr/local/lib
-L/usr/local/lib/sasl2 -L/usr/mysql/5.7/lib/64 -L/usr/lib/64
-L/usr/lib -R/usr/local/lib -R/usr/local/lib/sasl2
-R/usr/mysql/5.7/lib/64 -R/usr/lib/64 -R/usr/lib -c -o
charset-alias-plugin.lo charset-alias-plugin.c</font><br>
<font face="Courier New, Courier, monospace">libtool: compile: cc
-DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib
-I../../../src/lib-master -I../../../src/lib-mail
-I../../../src/lib-charset -I../../../src/lib-index
-I../../../src/lib-storage -m64 -I/usr/local/include
-I/usr/mysql/5.7/include -I/usr/local/include/sasl
-I/usr/include -L/usr/local/lib -L/usr/local/lib/sasl2
-L/usr/mysql/5.7/lib/64 -L/usr/lib/64 -L/usr/lib
-R/usr/local/lib -R/usr/local/lib/sasl2 -R/usr/mysql/5.7/lib/64
-R/usr/lib/64 -R/usr/lib -m64 -I/usr/local/include
-I/usr/mysql/5.7/include -I/usr/local/include/sasl
-I/usr/include -L/usr/local/lib -L/usr/local/lib/sasl2
-L/usr/mysql/5.7/lib/64 -L/usr/lib/64 -L/usr/lib
-R/usr/local/lib -R/usr/local/lib/sasl2 -R/usr/mysql/5.7/lib/64
-R/usr/lib/64 -R/usr/lib -c charset-alias-plugin.c -KPIC -DPIC
-o .libs/charset-alias-plugin.o</font><br>
<b><font face="Courier New, Courier, monospace">"charset-alias-plugin.c",
line 86: void function cannot return value</font></b><b><br>
</b><b><font face="Courier New, Courier, monospace">"charset-alias-plugin.c",
line 92: void function cannot return value</font></b><br>
<font face="Courier New, Courier, monospace">cc: acomp failed for
charset-alias-plugin.c</font><br>
</blockquote>
In charset-alias-plugin.c, the functions
charset_alias_to_utf8_end() and charset_alias_to_utf8_reset() are
declared to return void, but they also attempt to return something.
I suspect other compilers, such as GCC, might generate a warning
about the "return" statement, but Solaris Studio compiler is being
more strict about it...<br>
<br>
I suspect that the "return" keyword should be dropped from both
functions. Thoughts?<br>
<br>
Thanks,<br>
John<br>
<div class="moz-signature">
<!--
*********************************************************************************************************
*********************************************************************************************************
Instructions:
1) In order to save this file as your signature, please right-click anywhere in this page, and "Save As".
2) Choose an appropriate location to save the signature.html file.
3) In Thunderbird,
a) Go to Tools -> Account Settings
b) Check the box that says "Attach the signature from a file instead".
c) Click "Choose", then browse to the signature.html file that you saved earlier.
d) Click "Ok"
*********************************************************************************************************
*********************************************************************************************************
-->
<style>
p.GPNormal, li.GPNormal, div.GPNormal {
margin: 0in;
margin-bottom: .0001pt;
font-size: 11.0pt;
font-family: "Calibri", "Arial", sans-serif;
}
</style>
<p class="GPNormal"> <br>
<strong>John Woods | System Integration Administrator</strong><br>
<strong>Great Plains Manufacturing</strong> | 1030 E North St |
Salina, KS 67401<br>
P: 785-823-3276 ext. 2663 | F: 785-822-5676 | E: <a
moz-do-not-send="true"
href="mailto:john.woods@greatplainsmfg.com"> <span
style="color:windowtext">john.woods@greatplainsmfg.com</span>
</a> </p>
<p class="GPNormal" style="margin-bottom:10.0pt;line-height:115%">
<a moz-do-not-send="true" href="http://www.greatplainsmfg.com/">
<img src="cid:part2.01030609.01020807@greatplainsmfg.com"> </a>
</p>
<p class="GPNormal" style="margin-bottom:10.0pt;line-height:115%">
<a moz-do-not-send="true"
href="http://www.facebook.com/greatplainsag"><img
src="cid:part4.05060209.09020403@greatplainsmfg.com"
border="0"></a> <a moz-do-not-send="true"
href="http://www.twitter.com/greatplains_ag"><img
src="cid:part6.04000105.02050609@greatplainsmfg.com"
border="0"></a> <a moz-do-not-send="true"
href="http://www.youtube.com/greatplainsmfg"><img
src="cid:part8.05060804.08060301@greatplainsmfg.com"
border="0"></a> </p>
</div>
</body>
</html>