|
Boost Users : |
Subject: [Boost-users] [Parameter] Warnings from Preprocessor
From: Phillip Seaver (gtflip_at_[hidden])
Date: 2017-01-27 09:52:52
I recently updated to 1.63 from 1.57, and I'm now getting warnings from
usages of BOOST_PARAMETER_MEMBER_FUNCTION on Windows (msvc-12.0) like:
warning C4003: not enough actual parameters for macro
'BOOST_PP_SEQ_DETAIL_EMPTY_SIZE'
warning C4003: not enough actual parameters for macro
'BOOST_PP_SEQ_DETAIL_IS_NOT_EMPTY'
The code appears to be working, but since it's used in headers, I get a lot
of warnings. Here's one of the usages:
BOOST_PARAMETER_MEMBER_FUNCTION((Revision_t),
CreateForegroundWhite,
tag,
(optional
(imgclass, (Class_t), ClassPrint)
(fromimage, (bool), true)
(blackasgray, (bool), false)
))
Should I be concerned about the warnings? Any way to get rid of them?
Thanks,
Phillip
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net