[zeromq-dev] Can't build zeromq 2.2.0 on Solaris with GCC 3.4.3

AJ Lewis aj.lewis at quantum.com
Fri Apr 6 00:07:12 CEST 2012

Hey all,

I'd have logged this in jira, but there's no 2.2.0 version available
there yet and I wanted to let people know about it.

I'm having a build issue in the new 2.2.0 release.  Looks like a broken
GCC version check in blob.hpp:

#if (defined(__GNUC__) && (__GNUC__ == 3))
#include "gcc_421_char_traits.hpp"

I have gcc 3.4.3, so this tries to include gcc_421_char_traits.hpp which
doesn't exist on the system.  It seems like this should be checking for
__GNUC__ == 4 at least...

If I remove this bit of code everything builds fine on Solaris and the
self-tests pass.

AJ Lewis
Software Engineer
Quantum Corporation

Work:    651 688-4346

The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.

More information about the zeromq-dev mailing list