MantisBT - CMake
View Issue Details
0015988CMakeCMakepublic2016-02-25 12:162016-02-25 13:02
Ruslan Baratov 
 
normalminoralways
closedduplicate 
 
 
0015988: No parse error message on double 'else' contruction
This 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()
No tags attached.
duplicate of 0014335closed Kitware Robot CMake does not error on duplicate else() 
Issue History
2016-02-25 12:16Ruslan BaratovNew Issue
2016-02-25 13:01Rolf Eike BeerRelationship addedduplicate of 0014335
2016-02-25 13:02Rolf Eike BeerStatusnew => closed
2016-02-25 13:02Rolf Eike BeerResolutionopen => duplicate

There are no notes attached to this issue.