Re: ver 4.0 include problem

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
bernie said...

Why do include files that are located in the STD directory include other files in the same directory like the following: ??

file wildcard.e has the following include in it.

  include std/text.e as txt -- upper/lower 

Because those files need routines that are declared in them. In the case above, wildcard.e needs 'upper' and to find it in needs the 'include std/text.e'. It uses "std/" because that is the new standard location for v4 include files. The assumption is that EUINC or equvalent will have "$EUDIR/include" and may not have "$EUDIR/include/std" as well.

Although they really shouldn't need them, as the first place that is tried is from the same directory where the including file is located.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu