www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 205] New: Add pragma(inline) to the grammar

Date: Thu, 31 Dec 2015 16:07:34 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

http://bugzilla.gdcproject.org/show_bug.cgi?id=205

            Bug ID: 205
           Summary: Add pragma(inline) to the grammar
           Product: GDC
           Version: development
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw gdcproject.org
          Reporter: thomas.bockman gmail.com

It would be very helpful if `pragma(inline)` in its various forms was added to
GDC's grammar, even if it doesn't actually do anything.

Currently, even with -fignore-unknown-pragmas, GDC will choke on
    pragma(inline, true):
Or
    pragma(inline, true) {
    }

I have not found a practical way to work around this with `version` or `static
if`. It's making it hard to maintain a single code base that compiles on GDC,
LDC, and DMD without modifications.

-- 
You are receiving this mail because:
You are watching all bug changes.
Dec 31 2015