Get the App
SLTechnology News&Howtos  ›  Servers  › 

Resolve XCode6.0 compilation crossapp error _ fwrite$

Shulou Source: shulou.com Published: 2022-06-03 08:40:58 12月06日 Update

The temporary solution is to add the following code at the end of the AppDelegate.cpp file:

Extern "C" {

Size_t fwrite$UNIX2003 (const void * a, size_t b, size_t c, FILE * d)

{

Return fwrite (a, b, c, d)

}

Char* strerror$UNIX2003 (int errnum)

{

Return strerror (errnum)

}

}

Tags: The code file scheme is in the solution compile Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL NVidia MariaDB Microsoft Linux