Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000026Z.C++[All Projects] Backend/Corepublic2011-01-23 02:032011-01-23 02:04
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target VersionVaporwareFixed in Version 
Summary0000026: Warn for static const declarations of variables, whose types have trivial constructors, without initializers
DescriptionThe variable isn't usable (undefined behavior) until it's initialized to a valid value, and it takes a const_cast to do that. const_cast could fail at runtime if the variable lands in a read-only section.
TagsNo tags attached.
Attached Files

- Relationships
child of 0000025new Basic initializer support and recognition for declarations 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-01-23 02:03 zaimoni New Issue
2011-01-23 02:04 zaimoni Relationship added child of 0000025

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker