Project

General

Profile

Task #2462

consider adding STL misuse tests

Added by Szilárd Páll over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
uncategorized
Close

Description

libstdc++ has a debug mode that can be useful to debug/detect incorrect STL use through enabling assertions using -D_GLIBCXX_DEBUG and -D_GLIBCXX_DEBUG_PEDANTIC.

We should consider using these.

History

#1 Updated by Szilárd Páll over 2 years ago

  • Private changed from Yes to No

master built with gcc 7.1 and glibc++ debug mode runs tests just fine so we cold just add the macros to one of our gcc (7) builds.

Also available in: Atom PDF