Project

General

Profile

Actions

Task #3233

closed

Remove -pedantic from compilation flags

Added by Alex Afanasyev over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Build
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I'm proposing to remove -pedantic from debug compilation flags, primarily motivated by #3227. Though in general I'm not convinced that there is much value of having pedantic at all.

Actions #1

Updated by Davide Pesavento over 8 years ago

  • Subject changed from Remove `-pedantic` from compilation flags to Remove -pedantic from compilation flags

In theory, -pedantic should help keeping our code portable across compilers. Why do you think there's no value in that?

Actions #2

Updated by Alex Afanasyev over 8 years ago

I agree that we should keep language extensions out. However, how redundant semicolons fall into this category? Is it a language extension?

Actions #3

Updated by Davide Pesavento over 8 years ago

I think the ISO C++ standard requires compliant compilers to warn about duplicate semicolons (yes, there are warnings that are mandated by the standard).

Actions #4

Updated by Alex Afanasyev over 8 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF