View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013092CMakeCMakepublic2012-04-01 20:132012-09-03 16:00
ReporterChristoph Anton Mitterer 
Assigned ToBrad King 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0013092: change set() behaviour when value is inset, to define the variable as true
DescriptionHi.

To me it seems a bit inconsistent that:
set(FOO)
unsets FOO.

Given that you interpret a unset variable as false and given that unset() is the opposite of set(), it would IMHO make more sense to set FOO to true.
This would also be more consistent with C/C++ preprocessor's understanding of true/false.

And after all, that a command called "set" unsets is a bit awkward.


Of course this will break things, but given your nice policy mechanism this shouldn't really harm.

Cheers,
Chris.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0029095)
Brad King (manager)
2012-04-09 09:03

Issues 0013083, 0013089, 0013090, 0013091, 0013092, 0013109, and 0013111 are all interesting suggestions but the issue tracker is not a good place to discuss them. The user list is a better place for discussion because it may attract interest from others, and in particular from potential contributors. Others may also suggest alternative solutions.
(0030845)
David Cole (manager)
2012-09-03 16:00

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-04-01 20:13 Christoph Anton Mitterer New Issue
2012-04-09 09:03 Brad King Note Added: 0029095
2012-04-09 09:03 Brad King Status new => resolved
2012-04-09 09:03 Brad King Resolution open => suspended
2012-04-09 09:03 Brad King Assigned To => Brad King
2012-09-03 16:00 David Cole Note Added: 0030845
2012-09-03 16:00 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team