use of undeclared identifier 'BLAZE_USE_DEFAULT_INITIALIZATION'

Issue #257 resolved
Parsa Amini created an issue

I get this error when I use Blaze installed with CMake. I did a grep on the file “config/Optimizations.h“ and didn’t find the macro there. I then took a look at the code and observed that this file is generated by CMake from “cmake/Optimizations.h.in”, which doesn't contain BLAZE_USE_DEFAULT_INITIALIZATION, and that there is another file named “config/Optimizations.h“ that looks similar but has the macro in question along with other macro definitions that are not present anywhere in the installed Blaze directory.

Comments (5)

  1. Klaus Iglberger

    Hi Parsa!

    Thanks a lot for reporting this defect. We will fix it as quickly as possible.

    Best regards,

    Klaus!

  2. Klaus Iglberger

    Commit b28ee7b adds the 'BLAZE_USE_DEFAULT_INITIALIZATION' compilation switch, which has been introduced in commit 6d6e75b, to CMake. The fix is immediately available via cloning the Blaze repository and will be officially released in Blaze 3.6.

  3. Log in to comment