MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0015181 | CMake | CMake | public | 2014-09-30 13:18 | 2016-01-04 11:52 | ||||||||||
Reporter | tron_thomas | ||||||||||||||
Assigned To | Robert Maynard | ||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||||
Status | closed | Resolution | duplicate | ||||||||||||
Platform | OS | OS Version | |||||||||||||
Product Version | CMake 2.8.12.2 | ||||||||||||||
Target Version | Fixed in Version | ||||||||||||||
Summary | 0015181: math can't handle negative numbers. | ||||||||||||||
Description | The math command cannot do addition with negative numbers | ||||||||||||||
Steps To Reproduce | Run CMake against the following CMakeLists.txt file: cmake_minimum_required (VERSION 2.8) project (MathFailure) set (value -1) math (EXPR value "${value} + 1") Expected: value should be incremented to zero Actual: CMake Error at CMakeLists.txt:6 (math): math cannot parse the expression: "-1 + 1": syntax error, unexpected exp_MINUS, expecting exp_OPENPARENT or exp_NUMBER (1) | ||||||||||||||
Additional Information | |||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | |||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2014-09-30 13:18 | tron_thomas | New Issue | |||||||||||||
2014-09-30 13:52 | David Cole | Relationship added | duplicate of 0008996 | ||||||||||||
2014-09-30 13:53 | David Cole | Note Added: 0036879 | |||||||||||||
2015-08-22 05:44 | David Cole | Relationship added | related to 0015707 | ||||||||||||
2015-08-22 05:44 | David Cole | Status | new => resolved | ||||||||||||
2015-08-22 05:44 | David Cole | Resolution | open => duplicate | ||||||||||||
2015-08-22 05:44 | David Cole | Assigned To | => Robert Maynard | ||||||||||||
2016-01-04 11:52 | Robert Maynard | Note Added: 0040121 | |||||||||||||
2016-01-04 11:52 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|