PDA

View Full Version : Few suggestions...


dasOp
01-10-2004, 09:09 AM
Mostly about the headers we use for shmem or otherwise.

1: Includeguards? And wouldn't it make sense for headers depending on other headers to include them? Right now, dependencies is a nightmare.

2: Per installation, put the headers in ioftpd\source\include\ioFTPD so we can spec <pathtoio>\source\include as an additional includepath and do #include <ioFTPD\VFS.h> and so on, to avoid filename clashes.


Might be silly, but after having spent 45 mins fixing mainly the issues in 1 above just to recompile my io-specific libraries to match 5.4+, I just thought I'd get it off my chest.

darkone
01-10-2004, 09:26 AM
Include ioftpd.h :) it includes everything neccessary, and is always right

dasOp
01-10-2004, 09:34 AM
Guess that told me. :)

Thanks for pointing out the obvious. :)

dasOp
01-10-2004, 11:00 AM
Just noticed that ioMemory.h declares the not so name-unique macros Allocate and Free. Are those macros/functions things we outside developers have any use for?