From: anazawa@hic-soft.co.jp (ANAZAWA Akio)
Subject: Re: BUG: stdin not a constant
7 Dec 1997 23:21:45 -0800
Message-ID: <199712080506.OAA10318.cygnus.gnu-win32@mail.hic-soft.co.jp>
References: <199712072252.JAA10987@mali.comdyn.com.au>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
To: raf@comdyn.com.au
Cc: gnu-win32@cygnus.com

Hi, raf.

In message "Re: BUG: stdin not a constant"
    on 97/12/08, raf <raf@comdyn.com.au> writes:

raf> stdout is probably defined as "(&__iob[1])" which is just an
raf> expression because of the parentheses. #undef it a #define it as
raf> "&__iob[1]" which is a constant.

This solution seems meaningless with three reasons.

(1) When expression a was constant, "(a)" should be still remaining as
constant (expression). If your idea was correct, we may couldn't write
following statement as global variable definition/initilizer.

	int n = (0);

(2) Actual definition of stdout came from Cygnus (b18) is;

	#define	stdout	(_impure_ptr->_stdout)

(3) Your solution (remove parentheses) still causes same error
message.

Why don't you see actual stdio.h file? And, why don't you try -E
option of gcc?

# Forgive me if my expression brings unpleasant feelings to someone.
# Still I couldn't realize tone of English expressions.

-- 
          @___                                    anazawa@hic-soft.co.jp
          c>//_  ---     Human Interface Communications Co.,Ltd.(H.I.C.)
         (_)\(_)  ---        Phone +81 3 5467 2401 / Fax +81 3 5467 2402
------------------------------------------------------------------------

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
