Daniel Marjamäki

Results 388 comments of Daniel Marjamäki

> so I'll proceed by passing only project's include path to cppcheck good!

This preprocessor does not have any option to skip includes. I am not sure what you should do. You could probably generate the -D with a script. I would put...

> Is it worth trying to fix cppcheck so that I can understand the boost headers ? I have the feeling the it would be painful and that the answer...

hmm.. that is interesting. The fix does not look _wrong_ but I think I want to investigate this also. A short code example that reproduce the problem would be awesome!

can I reproduce somehow? Is it enough to include some boost header and write some code?

> I believe including #include or boost/config.hpp is enough (I have not really tested though /o). ok.. when I include foreach.hpp I get this error message from simplecpp: ../include/boost_1_69_0/boost/preprocessor/logical/bool.hpp:24: syntax...

Here is a reduced code: ``` # define BOOST_PP_CONFIG_STRICT() 0x0001 # define BOOST_PP_CONFIG_MSVC() 0x0004 # define BOOST_PP_CONFIG_MWCC() 0x0008 # define BOOST_PP_CONFIG_BCC() 0x0010 # define BOOST_PP_CONFIG_EDG() 0x0020 # define BOOST_PP_CONFIG_DMC() 0x0040...

@Ken-Patrick Can you try with the latest changes. After 229d41f8f625632440d580fd6b1938ac53d72156 , simplecpp seems to preprocess this code fine: #include

@SpareSimian can you please try to create some little code sample I can test locally with simplecpp? and then please report it in a new issue. I assume the code...