[Mesa-dev] [Bug 106590] Wrong line numbers expanded while compiling shaders

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 20 11:22:33 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106590

--- Comment #6 from Kenneth Graunke <kenneth at whitecape.org> ---
(In reply to Mark Janes from comment #5)
> This seems like a duplicate of 
> 
>  https://bugs.freedesktop.org/show_bug.cgi?id=106807
> 
> My faint recollection is that the specification of the __LINE__ macro is
> inconsistent.  If, as Ken says, this has been removed from the
> specification, why are we looking at patches to change the implementation?

No, __LINE__ is perfectly well defined and not going away.  #line directives to
alter the current line using expressions is going away.  I'm pretty sure
Zhaowei Yuan's patch fixes a real bug we've had for a long time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180820/ad91a695/attachment.html>


More information about the mesa-dev mailing list