We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0698a5f commit a66ab1eCopy full SHA for a66ab1e
regression/goto-cl/echo-file/echo-file.desc
@@ -0,0 +1,9 @@
1
+CORE
2
+some_funny_file.c
3
+
4
+^EXIT=0$
5
+^SIGNAL=0$
6
+^some_funny_file.c$
7
+--
8
+^warning: ignoring
9
+^CONVERSION ERROR$
regression/goto-cl/echo-file/some_funny_file.c
@@ -0,0 +1,3 @@
+int main()
+{
+}
src/goto-cc/compile.cpp
@@ -391,8 +391,9 @@ bool compilet::compile()
391
source_files.pop_front();
392
393
// Visual Studio always prints the name of the file it's doing
394
+ // onto stdout. The name of the directory is stripped.
395
if(echo_file_name)
- status() << file_name << eom;
396
+ std::cout << get_base_name(file_name, false) << '\n' << std::flush;
397
398
bool r=parse_source(file_name); // don't break the program!
399
0 commit comments