[fpc-pascal] fpc can't compile project because a directory exists

Marco van de Voort marcov at stack.nl
Thu Nov 24 10:04:57 CET 2011


In our previous episode, Graeme Geldenhuys said:
> I just tried to compile a test.pp file inside my /tmp directory. FPC
> complained because there existed a /tmp/test/ directory!!

Why is that strange?
 
> Is this a normal or known limitation of FPC? Or does the blame fall onto
> the ld linker?

I'm not sure what you mean here, what did you expect as result? 

The error is reported by LD, and the only improvement is that FPC could
check for the existence itself, (e.g.  to give a better or localized error
message)




More information about the fpc-pascal mailing list