Skip to main content
Known Participant
October 16, 2023
Question

Suppressing boost warnings referenced through InDesign SDK

  • October 16, 2023
  • 1 reply
  • 326 views

Hi,

 

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

 

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

 

This topic has been closed for replies.

1 reply

asaxenaAuthor
Known Participant
October 18, 2023

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.