Why does calling boost::split() give so many warnings?

前端 未结 1 1109
孤独总比滥情好
孤独总比滥情好 2021-01-16 03:38

I need a function for splitting strings on a dleimiter, and I\'m using the boost library for other things, so I tried using boost::split. It works, but it gives me a bunch o

相关标签:
1条回答
  • 2021-01-16 03:57

    The first line of the warning tells you everything, both why and how to avoid it, among other things this: To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. So go to the project properties, and put _SCL_SECURE_NO_WARNINGS among predefined macros.

    0 讨论(0)
提交回复
热议问题