We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e1063 commit eccb124Copy full SHA for eccb124
src/linking/linking.cpp
@@ -775,12 +775,13 @@ void linkingt::duplicate_code_symbol(
775
else if(base_type_eq(old_symbol.type, new_symbol.type, ns))
776
{
777
// keep the one in old_symbol -- libraries come last!
778
- warning().source_location=new_symbol.location;
+ // TODO: atomic built-ins should be marked file_local
779
+ debug().source_location = new_symbol.location;
780
- warning() << "function '" << old_symbol.name << "' in module '"
781
- << new_symbol.module
782
- << "' is shadowed by a definition in module '"
783
- << old_symbol.module << "'" << eom;
+ debug() << "function '" << old_symbol.name << "' in module '"
+ << new_symbol.module
+ << "' is shadowed by a definition in module '"
784
+ << old_symbol.module << "'" << eom;
785
}
786
else
787
link_error(
0 commit comments