the weak pragmas need to be used in the very compilation unit where their target is defined, requiring another dispatch