Re: Misleading error messages

"Lars Ivar Igesund" <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <050201c394c0$f8e64ca0$0200000a@mesmer>
----- Original Message ----- 
From: "Bram Moolenaar" <[email protected]>

>
> Sorry, I don't understand this.  Can you give an example?

Ok, I made a simple .d file with a simple syntactical error and
an equally simple .aap file.

The compiler error message follows directly after the command.
Then comes 5-6 lines with the recipe where the error was. This
might be okay in the project recipes, but I don't think they should
be there for the modules. Maybe tested and included modules
should be 'registered' such that these messages don't show up?


C:\projects\code\foo>aap
Aap: dmd   -O    -ofbuild-nt\bar.obj -c bar.d
bar.d(9): identifier 'foo' is not defined

Aap: Error in recipe "c:/projects/code/myaap/exec/modules/d.aap" line 124:
Error
 executing commands for compile d: Error in recipe
"c:/projects/code/myaap/exec/
modules/d.aap" line 58: Error executing commands for d_compile d: Error in
recip
e "c:/projects/code/myaap/exec/modules/d.aap" line 41: Error executing
commands
for compile_dmd d: Error in recipe "compile_dmd d action" line 8: Shell
returned
 1 when executing:
dmd   -O    -ofbuild-nt\bar.obj -c bar.d


Lars Ivar Igesund



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.