Skip to content

Commit

Permalink
enable printf pragmas for modern ldc2
Browse files Browse the repository at this point in the history
  • Loading branch information
denizzzka committed Feb 3, 2024
1 parent 5e62ac7 commit 1360ac3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions runtime/druntime/src/core/stdc/stdio.d
Original file line number Diff line number Diff line change
Expand Up @@ -1362,10 +1362,6 @@ else
///
pragma(scanf)
int sscanf(scope const char* s, scope const char* format, scope ...);

//FIXME: enable for LDC > 1.31.0-beta1
version(none)
{
///
pragma(printf)
int vfprintf(FILE* stream, scope const char* format, va_list arg);
Expand All @@ -1384,8 +1380,6 @@ version(none)
///
pragma(scanf)
int vscanf(scope const char* format, va_list arg);
}

///
pragma(printf)
int printf(scope const char* format, scope const ...);
Expand Down

0 comments on commit 1360ac3

Please sign in to comment.