Compiler Warning (level 1) C4160
#pragma (pop,...) : did not find previously pushed identifier 'identifier'
Remarks
A pragma statement in your source code tries to pop an identifier that has not been pushed. To avoid this warning, be sure that the identifier being popped has been properly pushed.
Example
The following example generates C4160 and shows how to fix it:
// C4160.cpp
// compile with: /W1
#pragma pack(push)
#pragma pack(pop, id) // C4160
// use identifier when pushing to resolve the warning
// #pragma pack(push, id)
int main() {
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for