This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/32784] [win32] Using 'con' as assigned file generates Fortran runtime error: File 'con' does not exist
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2007 08:04:16 -0000
- Subject: [Bug libfortran/32784] [win32] Using 'con' as assigned file generates Fortran runtime error: File 'con' does not exist
- References: <bug-32784-14861@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from dannysmith at users dot sourceforge dot net 2007-07-23 08:04 -------
(In reply to comment #16)
Maybe we
> should make it match "con" with case ignored.
No, please. "con", "nul", "prn" (with or without suffix) are reserved device
names on windows.
(eg "gcc -v -dM -E nul.c" is equivalent to gcc -v -dM -E -xc /dev/null)
CONOUT$ is the win32api name for console output and is used in GUI progs that
don't have default console output.
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32784