Compiler Warning (level 1) C4177
#pragma pragma should be at global scope
The pragma pragma should not be used within a local scope. The pragma will not be valid until global scope is encountered after the current scope.
The following sample generates C4177:
// C4177.cpp
// compile with: /W1
// #pragma bss_seg("global") // OK
int main() {
#pragma bss_seg("local") // C4177
}
Palaute
https://aka.ms/ContentUserFeedback.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä:Lähetä ja näytä palaute kohteelle