File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -775,12 +775,13 @@ void linkingt::duplicate_code_symbol(
775
775
else if (base_type_eq (old_symbol.type , new_symbol.type , ns))
776
776
{
777
777
// keep the one in old_symbol -- libraries come last!
778
- warning ().source_location =new_symbol.location ;
778
+ // TODO: atomic built-ins should be marked file_local
779
+ debug ().source_location = new_symbol.location ;
779
780
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;
781
+ debug () << " function '" << old_symbol.name << " ' in module '"
782
+ << new_symbol.module
783
+ << " ' is shadowed by a definition in module '"
784
+ << old_symbol.module << " '" << eom;
784
785
}
785
786
else
786
787
link_error (
You can’t perform that action at this time.
0 commit comments