[Issue 24483] New: Lack of error report from compiler - not linker one
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 4 22:42:08 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24483
Issue ID: 24483
Summary: Lack of error report from compiler - not linker one
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: apz28 at hotmail.com
abstract class A
{
abstract void foo();
}
class B : A
{
final override void foo()
{
super.foo(); // Should report an error on this line
}
}
void main()
{
auto b = new B();
}
Get obscured below error message
./onlineapp.d:10: error: undefined reference to '_D9onlineapp1A3fooMFZv'
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
--
More information about the Digitalmars-d-bugs
mailing list