You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2014/10/13 00:06:34 UTC

[jira] [Commented] (THRIFT-1462) add more strict compiler flags

    [ https://issues.apache.org/jira/browse/THRIFT-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168809#comment-14168809 ] 

Roger Meier commented on THRIFT-1462:
-------------------------------------

What about adding *-Wextra  -pedantic* ? They are supported by gcc and clang.

> add more strict compiler flags
> ------------------------------
>
>                 Key: THRIFT-1462
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1462
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: C++ - Compiler, C++ - Library
>            Reporter: Roger Meier
>            Assignee: Roger Meier
>             Fix For: 1.0
>
>         Attachments: THRIFT-1462_flags_c++0x_pedantic_Wextra.patch
>
>
> I would like to introduce additional compiler flags to improve the C++ code quality:
> {noformat}
> -CXXFLAGS = -Wall
> +CXXFLAGS = -Wall -Wextra -std=c++0x -pedantic
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)