Mail Archives: djgpp/1997/10/07/09:20:19
On Tue, 7 Oct 1997, Hugh Barrett wrote:
> Compiling: c:\hugh's~1\tutori~1\c\firsex.c
> Unmatched quote error
> There were some errors.
>
> If this is an obvious question, I'm sorry, but I'm dumb ok?
The apostrophe is a quote character (you need it to pass the command-line
parameters without them being globbed as filename wildcards). So if you
need to pass the apostrophe character itself, you need to quote it or
protect it with a backslash. Like so:
gcc c:\hugh"'"s~1\tutori~1\firstex.c
or like this:
gcc c:\hugh\'s~1\tutori~1\firstex.c
This is all explained in section 16.3 of the DJGPP FAQ list, btw. The
latest version of the FAQ is available as v2/faq210b.zip from the same
place you get DJGPP.
- Raw text -