lua-users home
lua-l archive

Re: Compiling Lua 5.2 with Turbo C 1.0 (1990) just works

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


* On 2014年01月30日 17:43:06 +0100, Roberto Ierusalimschy wrote:
 
> > Please find the attached screenshots. I wasn't patient enough to figure
> > out how to export the compiler messages to text output.
> 
> Many thanks. Except for one, all warnings are about incomplete types
> not being complete in a compilation unit. There is nothing about that
> in the standard; this is some compiler weirdness.
> 
> (And I did not understand the other warning; I could not figure out what
> code would be unreachable...)
Since lua_stdin_is_tty() is defined as 1, the line
 else dofile(L, NULL); /* executes stdin as a file */
will never be reached. That's a fair warning I guess.
-- 
:wq
^X^Cy^K^X^C^C^C^C

AltStyle によって変換されたページ (->オリジナル) /