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 e30fcc8 commit 822500dCopy full SHA for 822500d
src/linking/linking.cpp
@@ -776,12 +776,13 @@ void linkingt::duplicate_code_symbol(
776
else if(base_type_eq(old_symbol.type, new_symbol.type, ns))
777
{
778
// keep the one in old_symbol -- libraries come last!
779
- warning().source_location=new_symbol.location;
+ // TODO: atomic built-ins should be marked file_local
780
+ debug().source_location = new_symbol.location;
781
- warning() << "function '" << old_symbol.name << "' in module '"
782
- << new_symbol.module
783
- << "' is shadowed by a definition in module '"
784
- << old_symbol.module << "'" << eom;
+ debug() << "function '" << old_symbol.name << "' in module '"
+ << new_symbol.module
+ << "' is shadowed by a definition in module '"
785
+ << old_symbol.module << "'" << eom;
786
}
787
else
788
link_error(
0 commit comments