http://d.puremagic.com/issues/show_bug.cgi?id=3046


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


--- Comment #3 from Don <clugd...@yahoo.com.au> 2010-08-11 05:57:15 PDT ---
Patch: cpp_mangle.c, cpp_mangle_name(), line 112.


        FuncDeclaration *fd = s->isFuncDeclaration();
+        if (!fd)
+        {
+            s->error("cannot be declared as extern(C++)");
+            return;
+        }
        if (fd->isConst())
            buf->writeByte('K');

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to