View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015988CMakeCMakepublic2016-02-25 12:162016-02-25 13:02
ReporterRuslan Baratov 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0015988: No parse error message on double 'else' contruction
DescriptionThis invalid construction doesn't produce any error/warning message:

if(A EQUAL B)
  message("1")
else() # error, should be elseif with some condition
  message("2")
else()
  message("3") # never will be printed
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
2016-02-25 12:16 Ruslan Baratov New Issue
2016-02-25 13:01 Rolf Eike Beer Relationship added duplicate of 0014335
2016-02-25 13:02 Rolf Eike Beer Status new => closed
2016-02-25 13:02 Rolf Eike Beer Resolution open => duplicate


Copyright © 2000 - 2018 MantisBT Team