[ https://issues.apache.org/jira/browse/THRIFT-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14513114#comment-14513114 ]
Hudson commented on THRIFT-233: ------------------------------- SUCCESS: Integrated in Thrift #1520 (See [https://builds.apache.org/job/Thrift/1520/]) THRIFT-233 IDL doesn't support negative hex literals (jensg: rev 5ec2121cf283e8d708d22ab3e66c9c7103ecbaf0) * test/ConstantsDemo.thrift * compiler/cpp/src/thriftl.ll > IDL doesn't support negative hex literals > ----------------------------------------- > > Key: THRIFT-233 > URL: https://issues.apache.org/jira/browse/THRIFT-233 > Project: Thrift > Issue Type: Bug > Components: Compiler (General) > Reporter: Bryan Duxbury > Assignee: Jens Geyer > Priority: Trivial > Fix For: 0.9.3 > > > if you try a field def like > {code} > i32 my_field = -0x7fff > {code} > the compiler complains. If you try to make the value a two's complement > negative number without the sign, then it assumes it was supposed to be a > long, and the Java compiler chokes on the assignment. > It'd be nice if we supported negative hex literals. -- This message was sent by Atlassian JIRA (v6.3.4#6332)