Visitar URL original
#14267 (simplecpp: conditionally use the new interface, or opt in to the old one) – Cppcheck

Opened 12 months ago

Closed 10 months ago

Last modified 8 months ago

#14267 closed enhancement (fixed)

simplecpp: conditionally use the new interface, or opt in to the old one

Reported by: chrchr Owned by: kidkat
Priority: safety-cosmetic Milestone: 2.20
Component: Other Version:
Keywords: simplecpp Cc:

Description

​https://sourceforge.net/p/cppcheck/discussion/general/thread/d9123d036c/:
Building cppcheck with C++17 and later currently fails. We might want to define SIMPLECPP_TOKENLIST_ALLOW_PTR before including simplecpp.h.

Change History (4)

comment:1 by kidkat, 12 months ago

Owner: changed from noone to kidkat
Status: new → assigned

I was surprised we didn't encounter this yet as the Qt builds implicitly switch to C++17. Since it was working I didn't look into it yet as I was planning to do changes later on so it would build with either interface (pending some cleanups).

comment:2 by kidkat, 12 months ago

This hit an ambiguity issue with the simplecpp::TokenList constructor: ​https://github.com/danmar/simplecpp/issues/588.

comment:3 by kidkat, 10 months ago

Milestone: → 2.20
Resolution: → fixed
Status: assigned → closed

comment:4 by Daniel Marjamäki, 8 months ago

Priority: Normal → safety-cosmetic
Note: See TracTickets for help on using tickets.