1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-05-01 05:58:23 +00:00

make GUI compile on MSVC

This commit is contained in:
Miodrag Milanovic
2018-07-05 10:14:19 +02:00
parent fcff203c23
commit 2fe13e7a07
5 changed files with 15 additions and 11 deletions

View File

@@ -95,7 +95,7 @@ void PythonConsole::parseEvent( const ParseMessage& message )
}
// interpret valid user input
int errorCode;
int errorCode = 0;
std::string res;
if ( message.message.size() )
res = pyinterpreter_execute( message.message, &errorCode );