D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 23566 - ImportC: __PRETTY_FUNCTION__ is not defined
Summary: ImportC: __PRETTY_FUNCTION__ is not defined
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P4 enhancement
Assignee: No Owner
URL:
Keywords: ImportC, pull
Depends on:
Blocks:
 
Reported: 2022-12-18 06:21 UTC by Walter Bright
Modified: 2022-12-19 08:48 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Walter Bright 2022-12-18 06:21:55 UTC
#include <assert.h>

  int main()
  {
    assert(0); // Error: undefined identifier `__PRETTY_FUNCTION__`
  }
Comment 1 Dlang Bot 2022-12-18 07:41:23 UTC
@WalterBright created dlang/dmd pull request #14712 "fix Issue 23566 - ImportC: __PRETTY_FUNCTION__ is not defined" fixing this issue:

- fix Issue 23566 - ImportC: __PRETTY_FUNCTION__ is not defined

https://github.com/dlang/dmd/pull/14712
Comment 2 Dlang Bot 2022-12-19 08:48:03 UTC
dlang/dmd pull request #14712 "fix Issue 23566 - ImportC: __PRETTY_FUNCTION__ is not defined" was merged into master:

- 6863470e44ed4d84f195caff0770f68d0449c093 by Walter Bright:
  fix Issue 23566 - ImportC: __PRETTY_FUNCTION__ is not defined

https://github.com/dlang/dmd/pull/14712