![](https://secure.gravatar.com/avatar/63e41c26f1b269cef456dc21b8ff4f27.jpg?s=120&d=mm&r=g)
On Wed, 2011-11-09 at 19:25 +0100, Vladislav Vaintroub wrote:
A word of warning upfront before trying HP compiler. Unless xlc has changed its defaults in the last year or two, you'd need to set CFLAGS and CXXFLAGS env.vars prior to CMake so it compiles for Itanium.
Scratch xlc, that was AIX, not HPUX... But the rest of the warning applies :)
it was either +DD64 or maybe +DSitanium2 or something similar. Otherwise the build would produce PA-RISC binaries (those binaries are runnable on the HPUX Itanium, due to some emulation layer, but it is likely not what people expect)
Well, I tried building Mariadb with the HP compiler and I ran into a problem with anonymous unions. In 5.3.2 the anonymous unions (and anonymous struct) in st_dynamic_column_value were changed to have names. This change does not seem to be in 5.5. I don't know if that is intentional or accidental but it makes it more difficult to compile the 5.5 code with the HP compiler. Steve Ellcey sje@cup.hp.com