From: SourceForge.net <no...@so...> - 2007-05-13 05:29:03
|
Plugin Bugs item #1678767, was opened at 2007-03-12 09:50 Message generated for change (Comment added) made by shlomy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=565475&aid=1678767&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Shlomy Reinstein (shlomy) Assigned to: Alan Ezust (ezust) Summary: Console/ErrorList: Warnings are doubled in the error list Initial Comment: Warnings in the output of the compiler in Console appear twice in the ErrorList. Example: The following two lines from the output of the compiler: test.cpp:144: warning: unused variable `A a2' test.cpp:145: warning: unused variable `B b1' Appear twice in the ErrorList, which shows the following: - file.cpp (0 errors, 4 warnings) - 144: unused variable `A a2' - 144: unused variable `A a2' - 145: unused variable `B b1' - 145: unused variable `B b1' I'm using Console 4.3.2, ErrorList 1.4.2, jEdit 4.3pre9 with Sun Java 1.5.0_08, on RedHat Linux. ---------------------------------------------------------------------- >Comment By: Shlomy Reinstein (shlomy) Date: 2007-05-13 08:28 Message: Logged In: YES user_id=1477607 Originator: YES Same for me, the problem happens even after removing all error patterns except the Generic one. ---------------------------------------------------------------------- Comment By: Kazutoshi Satoda (k_satoda) Date: 2007-05-08 20:41 Message: Logged In: YES user_id=1483238 Originator: NO Alan, are you using the released version of ErrorList? You applied my patch as r7510 which filters out duplicated errors. After that revision, this bug can't be reproduced even if Console actually reports duplicated errors. I can reproduce this with Console svn trunk r9513, ErrorList 1.4.2, jEdit svn trunk r9513, Java 6u1. I removed all error patterns except the Generic one. ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2007-05-08 19:05 Message: Logged In: YES user_id=935841 Originator: NO i can not reproduce it on my end. I tried downgrading to Console 4.3.2 also. i have perl, ant, python, emacs, generic error patterns enabled. I do recall seeing this before though, perhaps you can try disabling/deleting some of the unused error patterns and see if you still have this problem? ---------------------------------------------------------------------- Comment By: Shlomy Reinstein (shlomy) Date: 2007-05-08 09:15 Message: Logged In: YES user_id=1477607 Originator: YES I just typed 'g++ test.cpp' in the console system shell. Here's a very simple example: Create a new file 'a.cpp' with the following content, and type 'g++ a.cpp' in the console system shell to compile it. The output of the compiler will contain a single warning about 'f1' undeclared, but the ErrorList will show it twice. It will also contain some note about showing the warning for each undeclared identifier only once; this one, for some reason, appears only once in the ErrorList. Can this be related to the way the regexps are defined? I'm using the default set as far as I remember. int main() { int c = f1(); return 0; } ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2007-05-08 07:19 Message: Logged In: YES user_id=935841 Originator: NO please describe the steps you took to run the compiler. was it via a console commando button, or did you just type g++ test.cpp from the console system shell? I'm using Debian Gnu LINUX and almost the same configuration as you, except I'm using console 4.3.3 and jdk 1.5.0_11. Perhaps you should upload the test.cpp also so I can try to reprouce it here? ---------------------------------------------------------------------- Comment By: Shlomy Reinstein (shlomy) Date: 2007-03-12 11:14 Message: Logged In: YES user_id=1477607 Originator: YES Same for errors... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=565475&aid=1678767&group_id=588 |