Changeset 05e6eb5 for src/Validate
- Timestamp:
- Jul 30, 2018, 4:43:48 PM (5 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 5cbacf1
- Parents:
- fd2debf
- git-author:
- Rob Schluntz <rschlunt@…> (07/30/18 15:38:10)
- git-committer:
- Rob Schluntz <rschlunt@…> (07/30/18 16:43:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/HandleAttributes.cc
rfd2debf r05e6eb5 117 117 std::string name = attr->normalizedName(); 118 118 if (name == "init_priority") { 119 119 // TODO: implement C++-like init_priority attribute 120 120 } 121 121 } … … 139 139 SemanticWarning(attr->location, Warning::GccAttributes, 140 140 toCString( name, " priorities from 0 to 100 are reserved for the implementation" ) ); 141 } else if (priority < 201 ) {141 } else if (priority < 201 && ! buildingLibrary()) { 142 142 SemanticWarning(attr->location, Warning::GccAttributes, 143 143 toCString( name, " priorities from 101 to 200 are reserved for the implementation" ) );
Note: See TracChangeset
for help on using the changeset viewer.