[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Filename changes in LuaSocket?
- From: duck <duck@...>
- Date: Tue, 28 Dec 2004 08:51:13 +0000
> > So 'gcc -I ../../include ...' turned up your io.h in my /include,
> > via both < > and " ".
>
> That's because LuaFileSystem should use < > to include the system
> <io.h>, isn't it?
It does. But I have your io.h in my own /include directory (not in the
same directory as your LuaSocket .c files). This /include directory is
added to gcc's include path with -I.
So including with " " and < > amount to the same thing if you routinely
keep C and header files apart, as the Lua distro does. Ergo, name
collision.