On Tue, May 28, 2013 at 1:05 PM, Chris Cleeland <[email protected]>wrote:
> Got this error for the first time today:
>
> Error: Ref region overlap
> > 'BUG 1' (225, 230, [{'text': 'Lookup #1', 'href': '
> https://bugzilla.eng.BLAHBLAH.net/bugzilla/show_bug.cgi?id=1', 'icon':
> 'buglink', 'title': 'Find this bug number at None'}])
> > 'XMA_DEBUG' (219, 228, [{'text': 'Find references', 'href':
> '/software/search?q=%2Bmacro-ref%3AXMA_DEBUG', 'icon': 'reference',
> 'title': 'Find references to macros with this name'}])
> > IN xma/userspace/somedir/somedir_dev.h
> pygments: No lexer for 'classCsePlugin__coll__graph.map'
> 42 of 42 HTML workers done.
> (finished building 'software' in 1:10:09.803724)
>
I'm guessing your source code looks like:
XMA_DEBUG 1
where XMA_DEBUG is a macro. So "XMA_DEBUG" is being linked so you can
search for macro references. And "BUG 1" is being linked since it looks
like a reference to a bug number. Maybe the "BUG 1" link should be dropped
if it overlaps with something else?
If you aren't using bugzilla then you can disable the buglink plugin as a
workaround.
--
James
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis