Changes in src/InitTweak/FixInit.cpp [c6d65a1:13481af0]
- File:
-
- 1 edited
-
src/InitTweak/FixInit.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cpp
rc6d65a1 r13481af0 816 816 if ( const ast::Stmt * ctor = ctorInit->ctor ) { 817 817 if ( objDecl->storage.is_static ) { 818 addDataSectionAttribute(objDecl); 818 // Remove const qualifier from definition and there can be no forward declarations. 819 if ( objDecl->type->is_const() ) { 820 ast::Type * fred = const_cast<ast::Type *>(objDecl->get_type()); 821 fred->set_const( false ); 822 } 819 823 // originally wanted to take advantage of gcc nested functions, but 820 824 // we get memory errors with this approach. To remedy this, the static
Note:
See TracChangeset
for help on using the changeset viewer.