Package: cppcheck
Version: 1.56-1

Hello, I was trying out the latest version of cppcheck (1.56-1) when I noticed 
two source files in Widelands triggered the following error message:

$ cppcheck widelands/src/editor/ui_menus/editor_main_menu_new_map.cc
Checking widelands/src/editor/ui_menus/editor_main_menu_new_map.cc...
[widelands/src/editor/ui_menus/editor_main_menu_new_map.cc] -> 
[widelands/src/editor/ui_menus/editor_main_menu_new_map.cc:61]: (error) 
Internal error. Token::Match called with varid 0. Please report this to 
Cppcheck developers
$ cppcheck widelands/src/editor/ui_menus/editor_main_menu_random_map.cc
Checking widelands/src/editor/ui_menus/editor_main_menu_random_map.cc...
[widelands/src/editor/ui_menus/editor_main_menu_random_map.cc] -> 
[widelands/src/editor/ui_menus/editor_main_menu_random_map.cc:97]: (error) 
Internal error. Token::Match called with varid 0. Please report this to 
Cppcheck developers

The files in question are available by checking out the Widelands source code 
(bzr branch lp:widelands), or directly at 
http://bazaar.launchpad.net/~widelands-dev/widelands/trunk/files/head:/src/editor/ui_menus/

I haven't seen this message before so I checked the same files with cppcheck 
1.55 (on an Arch system, but should be the same) and there it ran fine without 
any problems. Therefore I suspect this might be a regression.

Hope you can take a look at this and/or forward the bug if appropriate.

Best regards,
Hans Joachim Desserud


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to