Message Unexpected token encountered in pragma. Found "<found>" when expecting <expecting>. The pragma will be ignored. Description While parsing a #pragma directive, the compiler has encountered something unexpected. The message will contain information about what the compiler was expecting as well as what it found. User Action Correct the offending directive.