Menu

#1 IdlCompiler: Emacs friendly error msg

open
nobody
OpenORB (9)
1
2004-07-20
2002-03-20
Lars Kühne
No

Currently the IdlCompiler produces error messages that
look like this:

file:/C:/foo/bar.idl:65: Undefined identifier XYZ

Many popular editor environments (e.g. Emacs) can parse
compiler errors and provide a "jump to this error"
functionaliy based on that, but this only works out of
the box if error messages start with filenames and not
URLs.

Please change the error messages to look like this:

C:\foo\bar.idl:65: Undefined identifier XYZ

Discussion

  • Richard G Clark

    Richard G Clark - 2002-03-20

    Logged In: YES
    user_id=452859

    This should be included as an option rather than as
    standard.

    Should you really be requesting that Emacs recognize URLs?

     
  • Lars Kühne

    Lars Kühne - 2002-03-21

    Logged In: YES
    user_id=401384

    An option is OK with me, although I don't see why URLs are
    useful at all.

    The requested style is supported by all of the most
    important open source tools like ant, javac, jikes and gcc.

    No other development tool I'm aware of writes URLs in it's
    error messages, all tools assume that their input come from
    the local file system. Why doesn't OpenOrb make the same
    assumption?

     
  • Lars Kühne

    Lars Kühne - 2002-03-21

    unconditionally write emacs compatible error messages

     
  • Lars Kühne

    Lars Kühne - 2002-03-21

    Logged In: YES
    user_id=401384

    I know the patch is not really beautiful, but hey, it works
    and the current IdlCompiler is messed up anyway.

    Thought I'd share my solution in case anyone has the same
    problem.

     
  • Michael Rumpf

    Michael Rumpf - 2004-07-20
    • priority: 5 --> 1
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.