[
https://issues.apache.org/jira/browse/THRIFT-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087665#comment-13087665
]
Hudson commented on THRIFT-1276:
--------------------------------
Integrated in Thrift #225 (See [https://builds.apache.org/job/Thrift/225/])
THRIFT-1276 Add thrift compiler option to suppress warnings about
Patch: Dave Watson
roger : http://svn.apache.org/viewvc/?view=rev&rev=1159593
Files :
* /thrift/trunk/compiler/cpp/src/main.cc
* /thrift/trunk/compiler/cpp/src/thrifty.yy
* /thrift/trunk/compiler/cpp/src/globals.h
> Add thrift compiler option to suppress warnings about
> -------------------------------------------------------
>
> Key: THRIFT-1276
> URL: https://issues.apache.org/jira/browse/THRIFT-1276
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Reporter: Dave Watson
> Assignee: Roger Meier
> Priority: Minor
> Attachments:
> 0008-Add-thrift-compiler-option-to-suppress-warnings-abou.patch.diff
>
>
> From 888de29f39ea6235c39416585b234a32712ae16b Mon Sep 17 00:00:00 2001
> From: Doug Ihde <[email protected]>
> Date: Thu, 4 Mar 2010 20:21:18 +0000
> Subject: [PATCH 08/33] Add thrift compiler option to suppress warnings about
> 64-bit constants
> Summary: The thrift compiler generates warnings whenever you define a 64-bit
> constant in a .thrift file, because some languages don't support
> 64-bit values. But most useful languages do, so it's annoying to
> get these warnings all the time for project in which we know we're
> only using 64-bit-safe languages.
> Test Plan: I added "--allow-64bit-consts" to the TARGETS file for
> business/account/if and watched all the warnings from
> account.thrift go away.
> ---
> compiler/cpp/src/globals.h | 9 +++++++++
> compiler/cpp/src/main.cc | 8 ++++++++
> compiler/cpp/src/thrifty.yy | 2 +-
> 3 files changed, 18 insertions(+), 1 deletions(-)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira