[erlang-questions] Flymake & include_lib

Kevin A. Smith kevin@REDACTED
Thu May 29 14:57:30 CEST 2008


I've been using flymake for a while now, really loving it BTW, but  
I've got a problem which is starting to drive me to distraction.

When I'm working on code with the typical OTP app directory structure  
(ebin, priv, include, src, etc) flymake errors trying to locate .hrl  
files when I include them thusly:

-include_lib("foo.hrl").

Flymake claims to not be able to find the file "foo.hrl" and so any  
code which uses the records defined in that file are also flagged as  
errors.

I'm certain there's a problem with the eflymake script I've been using  
to compile Erlang source but I can't seem to figure it out. It's  
probably just come path tweaking but I'm at a loss as to what I'm  
missing.

I've attached the compile script I'm using. I'd appreciate any  
pointers as to what the problem might be.

Thanks,
Kevin


-------------- next part --------------
A non-text attachment was scrubbed...
Name: eflymake
Type: application/octet-stream
Size: 253 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080529/de32c5de/attachment.obj>
-------------- next part --------------



More information about the erlang-questions mailing list