search for: lldiv_t

Displaying 5 results from an estimated 5 matches for "lldiv_t".

2012 Jan 13
2
[LLVMdev] Odd weak symbol thing on i386
Hi, I'm compiling lldiv.c from the NetBSD standard library. It works on ARM, Mips, Microblaze,ppc, ppc64, and x86_64. On i386 a very strange thing happens. Here's the source: #include <stdlib.h> #define __weak_alias(sym) __attribute__ ((weak, alias (#sym))) lldiv_t lldiv(long long int num, long long int denom) __weak_alias(_lldiv); lldiv_t _lldiv(long long num, long long denom) { lldiv_t r; r.quot = num / denom; r.rem = num % denom; if (num >= 0 && r.rem < 0) { r.quot++; r.rem -= d...
2012 Jan 13
0
[LLVMdev] Odd weak symbol thing on i386
...ompiling lldiv.c from the NetBSD standard library. It works on ARM, Mips, > Microblaze,ppc, ppc64, and x86_64. On i386 a very strange thing happens. > Here's the source: > > #include <stdlib.h> > #define       __weak_alias(sym) __attribute__ ((weak, alias (#sym))) > > lldiv_t lldiv(long long int num, long long int denom) __weak_alias(_lldiv); > > lldiv_t _lldiv(long long num, long long denom) > { >        lldiv_t r; >        r.quot = num / denom; >        r.rem = num % denom; >        if (num >= 0 && r.rem < 0) { >                r....
2005 May 12
0
Using string from stdlib in winemaker
...rror: `ldiv' not declared /usr/include/c++/3.3/cstdlib: In function `ldiv_t std::div(long int, long int) ': /usr/include/c++/3.3/cstdlib:122: error: `ldiv' undeclared (first use this function) /usr/include/c++/3.3/cstdlib: At global scope: /usr/include/c++/3.3/cstdlib:139: error: `lldiv_t' not declared /usr/include/c++/3.3/cstdlib:145: error: `_Exit' not declared /usr/include/c++/3.3/cstdlib:156: error: Syntaxfehler before `(' token /usr/include/c++/3.3/cstdlib:157: error: Syntaxfehler before `.' token /usr/include/c++/3.3/cstdlib:157: error: Syntaxfehler before `....
2008 Dec 31
1
wineg++ problem with the standard library
...v_t std::div(long int, long int): /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib:146: error: ldiv was not declared in this scope /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib: At global scope: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib:163: error: ::lldiv_t has not been declared /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib:169: error: ::_Exit has not been declared /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib:176: error: ::llabs has not been declared /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/cstdlib:178: er...
2018 May 11
0
Wine release 3.8
...(8): user32/tests: Drop nonsensical broadcast tests that fail on Windows 10. include: Add strtof and strtold. ucrtbase: Hook up _Exit. include: Add atoll. include: Add strtoll, strtoll_l, strtoull, and strtoull_l. include: Add llabs. include: Add lldiv and lldiv_t. msvcrt: Omit pointer coding functions from SOs for newer MSVC versions. Alexandre Julliard (8): winegcc: Add support for building native subsystem libraries. user32/tests: Avoid calling a potentially missing function. user32/tests: Reorganize the DPI tests. user32: S...