www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18836] New: DMD erroneously reports Warning: C preprocessor

https://issues.dlang.org/show_bug.cgi?id=18836

          Issue ID: 18836
           Summary: DMD erroneously reports Warning: C preprocessor
                    directive #Author is not supported inside a string.
           Product: D
           Version: D2
          Hardware: x86_64
               URL: http://dlang.org/
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: viserion.thrall gmail.com

In DMD64 D Compiler v2.080.0 I get the following warning from dmd:
Warning: C preprocessor directive #Author is not supported

The code from the unittest:
        immutable string tocData = q{



                file.d
                app.d
                app.lua
        };

I'm parsing a TOC file like those used in World of Warcraft. See
https://wow.gamepedia.com/TOC_format.

Thanks!

--
May 06 2018