NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/50006: stupid diagnostic message from cpp(1)
>Number: 50006
>Category: bin
>Synopsis: stupid diagnostic message from cpp(1)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 27 19:35:00 +0000 2015
>Originator: David A. Holland
>Release: NetBSD 7.99.17 and 7.0_RC1 (as of today)
>Organization:
>Environment:
System: NetBSD macaran 7.99.17 NetBSD 7.99.17 (MACARAN) #26: Fri May 22 18:22:29 EDT 2015 dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
>Description:
% cpp < .
cc1: fatal error: stdout: No such file or directory
compilation terminated.
similarly,
% cpp .
cc1: fatal error: .: No such file or directory
compilation terminated.
Not only is it printing the wrong (probably uninitialized) errno, but
it's got its input and output mixed up.
>How-To-Repeat:
Run calendar -a from /etc/daily on a system where someone has a
~/.calendar directory, and discover a strange message in the daily
output.
>Fix:
Easy once someone goes and tracks down where in gcc the print is
coming from.
Home |
Main Index |
Thread Index |
Old Index