AIX compiler support for MQ

One person asking a question will get an answer; two people asking the same question will probably prompt a post. So here’s the latest: MQ listed the XLC/C++ 16 compiler for AIX as deprecated in 2024 and support for it was removed in version 9.4.2. What does that mean for new development or existing applications?

Continue reading “AIX compiler support for MQ”

This post was last updated on March 10th, 2025 at 09:08 am

C switch statement efficiency

MQ V8 introduced a header file, cmqstrc.h, that maps constants in the MQI to string values. I’ve mentioned it a few times recently, both here and in some other forums. One question came in, asking about how well that code worked. So I’ve recreated some tests I wrote back in 2015, to demonstrate what compilers do with that pattern. This shows the efficiency of writing large switch statements in C.

Continue reading “C switch statement efficiency”

This post was last updated on February 25th, 2022 at 10:03 am