View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015548CMakeCMakepublic2015-04-30 03:322015-04-30 03:48
ReporterMathieu Malaterre 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake 3.0.2 
Target VersionFixed in Version 
Summary0015548: Report syntax error for if/else/else construct
DescriptionThe following should be reported as containing a syntax error:

$ cat CMakeLists.txt
project(syntax)

if(WIN32)
  message("1")
else(APPLE)
  message("2")
else()
  message("3")
endif()
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0014335closedKitware Robot CMake does not error on duplicate else() 

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change
2015-04-30 03:32 Mathieu Malaterre New Issue
2015-04-30 03:48 Rolf Eike Beer Relationship added duplicate of 0014335
2015-04-30 03:48 Rolf Eike Beer Status new => closed
2015-04-30 03:48 Rolf Eike Beer Resolution open => duplicate
2015-04-30 03:48 Rolf Eike Beer Category (No Category) => CMake


Copyright © 2000 - 2018 MantisBT Team