HPE NonStop SQL/MX Error – 13082 Incompatible addressing model. This source file was generated for a mode addressing model.

In this blog post, let’s learn about the error message “13082 Incompatible addressing model. This source file was generated for a mode addressing model.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

13082 Incompatible addressing model. This source file was generated for a mode addressing model.

Reason for the Error

The pre-processing mode and the C/C++ compilation mode do not match. If mode is 64-bit, the C/C++ compiler was in 32-bit mode or conversely.

Solution

Ensure that the host language compilation mode matches the pre-processing mode