Uploaded image for project: 'OpenVDB'
  1. OpenVDB
  2. OVDB-130

DSO_DEFINITIONS CMake Warning Houdini 18

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • OpenVDB_7.0.0
    • None
    • Houdini
    • None

      With H18, I'm getting this warning on the command-line:

      warning: ISO C++11 requires whitespace after the macro name
      

      Removing the compiler flag -DDSO_DEFINITIONS-NOTFOUND removes the warning (I assume it's the extra hyphen character).

      I believe this is something to do with the sesitag no longer being present in H18 but I don't remember the details? nna JeffLait - how should we go about resolving this?

        # If the sesi tag needs removing, manually configure the compile
        # options for each DSO and replace the UT_DSO_TAGINFO define
      
        if(NOT OPENVDB_HOUDINI_ENABLE_SESI_TAG)
          get_target_property(DSO_DEFINITIONS ${DSO_NAME} COMPILE_DEFINITIONS)
          string(REGEX REPLACE "UT_DSO_TAGINFO=\".+\"" "" DSO_DEFINITIONS "${DSO_DEFINITIONS}")
          set_target_properties(${DSO_NAME}
            PROPERTIES COMPILE_DEFINITIONS "${DSO_DEFINITIONS}"
          )
        endif()
      

            danrbailey danrbailey
            danrbailey danrbailey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: