Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
2

Suppressing boost warnings referenced through InDesign SDK

Contributor ,
Oct 16, 2023 Oct 16, 2023

Copy link to clipboard

Copied

Hi,

 

I have a bunch of warning coming from boost library which is in turned referenced from InDesign SDK.

 

asaxena_0-1697442540771.png

What is the recommended way of suppressing these warnings on XCode and VS? I want to suppress selective warnings only for some included files and not for the whole project without lower the warning level.

 

Thanks

 

TOPICS
How to , SDK

Views

197
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 17, 2023 Oct 17, 2023

Copy link to clipboard

Copied

LATEST

I am also getting a whole lot of boost bind placeholder related warnings coming from InDesign SDK headers.

What is the recommendation to deal with these warnings without lowering the warning level in my builds and not using the unrecommended boost predefine?

 

external\dva\third_party\boost_libraries\boost\bind.hpp(41): message : The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines