[ 
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)

Reply via email to