Dear Sirs
I have an ARM project on followind folder D:\Firmware\APIDM01\B - Releases\V1\A - Source
When a I use the default folder filled by UV3 on folders path of compiler, I have the follwing path
..\A - Source
It cause an error when compilling the source code.
MAIN.C: Error: C3078E: stdin ('-') combined with other files
I suppose because the PARSER of compiler. I didn't find this error using C51 8.12 compiler.
LEt's See the string control
-c --device DARMP -g -O0 --apcs=interwork -I..\A - Source -I "C:\Keil MDK 3.20\ARM\INC\Philips" -o "*.o" --omf_browse "*.crf" --depend "*.d"
-I..\A - Source <--- IT's parsing error
So, on folder path I've change the files path to "D:\Firmware\APIDM01\B - Releases\V1\A - Source" and the project compiles normally....
Let's see the final string control
-c --device DARMP -g -O0 --apcs=interwork -I"D:\Firmware\APIDM01\B - Releases\V1\A - Source" -I "C:\Keil MDK 3.20\ARM\INC\Philips" -o "*.o" --omf_browse "*.crf" --depend "*.d"
Is it a parser compiler bug or I can't use '-' char on ppath of my folders ?
Regards.
Just a footnote, since you are not so comfortable with command lines.
Quote a lot of programs have a special meaning for a command line parameter that consists of a single dash.
It normally means that the program should read from stdin or should write to stdout.
That is probably the reason why you get the strange error message. When processing a file, the compiler can specify a file name and line number. That isn't so easy when it is requested to read from stdin.