Skip to content

Commit fc42358

Browse files
committed
fix extern (C++)
1 parent 469552c commit fc42358

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

compiler/src/dmd/dscope.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ enum Contract : ubyte
4444
}
4545

4646
/// Active linting rules for the current scope
47+
extern (C++)
4748
enum LintFlags : uint
4849
{
4950
none = 0,

compiler/src/dmd/errors.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import dmd.sarif;
2929
nothrow:
3030

3131
/// Constants used to discriminate kinds of error messages.
32+
extern (C++)
3233
enum ErrorKind
3334
{
3435
warning,

0 commit comments

Comments
 (0)