On 2016-04-04 10:20:57 -0700, Kevin J. McCarthy wrote: > On Mon, Apr 04, 2016 at 03:49:48PM +0200, Fabian Groffen wrote: > > While trying to compile 1.6.0 I found a symbol conflict for M_CMD and > > M_READ on OpenIndiana (I assume the same will be for Solaris). > > > > These two are already defined in > > /usr/include/sys/stream.h > > a header which mutt indirectly includes.
That's a bug in OpenIndiana. Defining macros whose name is not reserved can potentially make the compilation of any program fail. > > I simply renamed M_CMD and M_READ to MUTT_CMD and MUTT_READ and was able > > to compile afterwards. > > Thanks for the heads-up Fabian. I'll put this on the list of things to fix. Unfortunately this will break patches. -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
