Commit graph

25 commits

Author SHA1 Message Date
Timo Kreuzer cb4db3af6f [CRT]
Put __declspec(nothrow) at a valid (for MSVC) position.

svn path=/branches/cmake-bringup/; revision=50577
2011-01-31 19:46:05 +00:00
Timo Kreuzer e92a8c0a72 [CRT]
Fix some warnings

svn path=/branches/cmake-bringup/; revision=50513
2011-01-27 13:45:06 +00:00
Timo Kreuzer 8191f95396 [CMAKE]
- Sync with trunk 50501
- fix a couple of merge artifacts (indentation)

svn path=/branches/cmake-bringup/; revision=50505
2011-01-26 23:24:08 +00:00
Sylvain Petreolle e2b7eacdd5 [CMAKE]
Sync trunk up to r50477.

svn path=/branches/cmake-bringup/; revision=50504
2011-01-26 22:19:12 +00:00
Timo Kreuzer 4dbcb77b8f [CRT]
fix definition of _crt_va_arg for amd64

svn path=/branches/cmake-bringup/; revision=50471
2011-01-22 23:22:10 +00:00
Timo Kreuzer 5f6e050626 - _mingw.h: Don't define USE_MINGW_SETJMP_TWO_ARGS for MSVC
- _mingw.h: Fix definition of _CRT_ALIGN for MSVC
- intrin.h: _InterlockedAddLargeStatistic is not an intrinsic on MSVC for x64
- intrin.h: Fix return type of _InterlockedOr64
- wdm.h: Fix warnings in KfRaiseIrql and RtlExtendedMagicDivide inline implementations
- winnt.h: Simplify definition of GetCurrentFiber

svn path=/branches/cmake-bringup/; revision=50470
2011-01-22 19:17:10 +00:00
Timo Kreuzer e212d018ae [CMAKE]
Copy vadefs.h from amd64 branch

svn path=/branches/cmake-bringup/; revision=50467
2011-01-22 17:52:33 +00:00
Timo Kreuzer be0830b12f [CMAKE]
Move secure api functions from external file into string.h and use standard macros. Fixes 2 warnings.

svn path=/branches/cmake-bringup/; revision=50431
2011-01-19 13:33:48 +00:00
Timo Kreuzer 8f523a01d4 [CMAKE]
Add missing strcpy_s and strcat_s prototypes to silence some warnings

svn path=/branches/cmake-bringup/; revision=50428
2011-01-19 11:55:45 +00:00
Amine Khaldi 6c0c23cb53 [CMAKE]
- Sync with trunk head (r50270)
- This also reverts r49298.

svn path=/branches/cmake-bringup/; revision=50271
2011-01-03 00:33:31 +00:00
Timo Kreuzer cb23bbe38a [INTRIN]
Implement _inp, _inpd, _inpw, _outp, _outpd, _outpw as intrinsics, like on MSVC

svn path=/branches/cmake-bringup/; revision=49814
2010-11-27 12:36:14 +00:00
Sylvain Petreolle f1283c58c6 [CMAKE]
Sync with trunk. (r49792)

svn path=/branches/cmake-bringup/; revision=49803
2010-11-26 23:33:34 +00:00
Timo Kreuzer 5a54b0b454 [CRT]
simplify and fix definition of setjmp

svn path=/branches/cmake-bringup/; revision=49794
2010-11-25 22:35:57 +00:00
Timo Kreuzer 0b8509a565 [CRT]
- Use ___readcr4 instead of __readcr4, because MSVC doesn't like this intrinsic to be redefined.
- Add _ftol2

svn path=/branches/cmake-bringup/; revision=49679
2010-11-21 09:36:26 +00:00
Timo Kreuzer f90a97e5a6 [CRT]
- Add __readcr4 to crt to compensate for MSVC bug
- Compile strnset with MSVC

svn path=/branches/cmake-bringup/; revision=49669
2010-11-20 16:38:45 +00:00
Timo Kreuzer 5054fc46a3 [INTRIN]
Add a workaround for __readcr4, MSVC suffers an internal error when using the intrinsic and optimization is on.

svn path=/branches/cmake-bringup/; revision=49628
2010-11-19 13:55:58 +00:00
Jérôme Gardou 6b0b6cb78f [HEADERS]
- move stlport headers to the c++ directory
 - add a specific _reactos.h configuration file for stlport
 - add cerrno to c++ headers
 - __declspec(nothrow) must be placed before calling convention with msvc. GCC doesn't care.
We now use our headers with both msvc and gcc.

svn path=/branches/cmake-bringup/; revision=49565
2010-11-11 15:58:18 +00:00
Jérôme Gardou 8c6671477e [HEADERS]
- start using our own c++ headers and forward stlport ones to them in msvc build.
 - fix fpecode declaration for MSVC.
[CMAKE]
 - cardlib is a cpp library.
Now stlport compiles with msvc.

svn path=/branches/cmake-bringup/; revision=49552
2010-11-10 22:20:05 +00:00
Jérôme Gardou 27267a3cab [CMAKE]
- add gcc dependencies to executables, not to mingw_(w)main
[STLPORT]
  - move features definitions where it belongs.
[SDK]
  - errno _must_ be defined in errno.h, nowhere else, or stlport headers choke.

svn path=/branches/cmake-bringup/; revision=49049
2010-10-08 10:46:54 +00:00
Amine Khaldi 4efda499f7 [CMAKE]
Jerome Gardou:
- Add STLport 5.2.1 (yes, STLport, the c++ stl implementation) to build. For now, it works only in user mode.
- Link some c++ executables to it
- sol.exe : one step towards a complete and modern OS.
- Dedicated to Amine for his patience and his help.
- Might Break Things! (tm)

svn path=/branches/cmake-bringup/; revision=49046
2010-10-07 22:09:31 +00:00
Timo Kreuzer 912ce51ae6 [CMAKE]
Sync with trunk head (r48826)

svn path=/branches/cmake-bringup/; revision=48831
2010-09-20 17:27:52 +00:00
Timo Kreuzer 688eef2602 [MSVC]
__MINGW_ATTRIB_DEPRECATED aka __declspec(deprecated) must be put before the function declaration for MSVC.

svn path=/branches/cmake-bringup/; revision=48828
2010-09-20 14:16:22 +00:00
Timo Kreuzer 355f25521c [MSVC]
remove intrinsics that don't exist

svn path=/branches/cmake-bringup/; revision=48815
2010-09-19 16:27:13 +00:00
Amine Khaldi 13f105b14b [CMAKE]
- Introduce MSVC toolchain support. Just use -DCMAKE_TOOLCHAIN_FILE=toolchain-msvc.cmake for the toolchain.
- Sync setjmp.h from trunk.
- Improve mingw targets (mingw_common, mingw_wmain, oldnames... etc) a bit to make them compile and link with msvc.
- Dedicated to Timo ;)

svn path=/branches/cmake-bringup/; revision=48809
2010-09-19 00:27:24 +00:00
Amine Khaldi c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00