lua-users home
lua-l archive

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


> > 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.