mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 07:58:59 +08:00
a2c846338c
gcc 7 deprecates the use of varargs.h in favour of stdarg.h. mpfr already fixes it, but the fix is enabled if stdarg is available. This patch adds the test on CMakeLists.txt and enables the fix if needed.
7 lines
72 B
C
7 lines
72 B
C
# include <stdarg.h>
|
|
|
|
int main(int argc, char *argv) {
|
|
return 0;
|
|
}
|
|
|