Skip to content

Commit eb58e07

Browse files
committed
Debugging
1 parent e7c87e9 commit eb58e07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ansi-c/c_preprocess.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ bool c_preprocess_visual_studio(
319319

320320
if(result!=0)
321321
{
322+
std::ifstream input(file);
323+
message.error() << input.rdbuf() << messaget::eom;
322324
message.error() << "CL Preprocessing failed" << messaget::eom;
323325
return true;
324326
}

0 commit comments

Comments
 (0)