[Issue 16574] New: [REG 2.072.0-b1] Unexplained errors about functions that overridde anything

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Oct 2 07:01:48 PDT 2016


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

          Issue ID: 16574
           Summary: [REG 2.072.0-b1] Unexplained errors about functions
                    that overridde anything
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

This problem appears only from DMD 2.072.0-b1 and under linux x86-64. You
should have the development version of x11, freetype and cairo to test
(otherwise you'll get linker errors, but that's not the point)

1. place you in a temporary folder
2. create a shell script with 

==========================
git clone https://github.com/BBasile/kheops.git
cd kheops/runnable
dub default_alignment.d
==========================

3. execute this script and you should get:

> ../src/kheops/control.d(1866,1): Error: class kheops.control.Control cannot implicitly generate a default ctor when base class kheops.control.CustomControl is missing a default ctor
> ../src/kheops/styles.d(28,5):        while looking for match for PublishedObjectArray!(Style)
> ../src/kheops/control.d(2207,19): Error: function kheops.control.OsWindow.procShow does not override any function
> ../src/kheops/control.d(2219,19): Error: function kheops.control.OsWindow.procHide does not override any function
> ../src/kheops/control.d(2552,25): Error: function kheops.control.OsWindow.isPointInside does not override any function
> ../src/kheops/control.d(2557,25): Error: function kheops.control.OsWindow.repaint does not override any function
> ../src/kheops/control.d(2561,24): Error: function kheops.control.OsWindow.caption does not override any function
> ../src/kheops/control.d(2575,26): Error: function kheops.control.OsWindow.caption does not override any function
> ../src/kheops/control.d(2577,24): Error: function kheops.control.OsWindow.height does not override any function
> ../src/kheops/control.d(2590,25): Error: function kheops.control.OsWindow.height does not override any function
> ../src/kheops/control.d(2592,24): Error: function kheops.control.OsWindow.width does not override any function
> ../src/kheops/control.d(2605,25): Error: function kheops.control.OsWindow.width does not override any function
> ../src/kheops/control.d(2607,24): Error: function kheops.control.OsWindow.left does not override any function
> ../src/kheops/control.d(2622,25): Error: function kheops.control.OsWindow.left does not override any function
> ../src/kheops/control.d(2624,24): Error: function kheops.control.OsWindow.top does not override any function
> ../src/kheops/control.d(2639,25): Error: function kheops.control.OsWindow.top does not override any function
> ../src/kheops/control.d(2842,19): Error: function kheops.control.MenuItem.updateFromAction does not override any function
> ../src/kheops/control.d(2852,19): Error: function kheops.control.MenuItem.procMouseEnter does not override any function
> ../src/kheops/control.d(2860,19): Error: function kheops.control.MenuItem.procMouseLeave does not override any function
> ../src/kheops/control.d(2878,19): Error: function kheops.control.MenuItem.paint does not override any function
> ../src/kheops/control.d(2937,19): Error: function kheops.control.CustomMenuWindow.unsetFocus does not override any function

4. (optional) Try 1/2/3 with 2.071.2: no problem (or just the linker messages).

Apologies for this unpleasant report but I cannot provide more simple.

--


More information about the Digitalmars-d-bugs mailing list