Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cpp

    r13481af0 rc6d65a1  
    816816        if ( const ast::Stmt * ctor = ctorInit->ctor ) {
    817817                if ( objDecl->storage.is_static ) {
    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                         }
     818                        addDataSectionAttribute(objDecl);
    823819                        // originally wanted to take advantage of gcc nested functions, but
    824820                        // we get memory errors with this approach. To remedy this, the static
Note: See TracChangeset for help on using the changeset viewer.