Commit graph

15 commits

Author SHA1 Message Date
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