Add a number of GUIDs. They are duplicated from idl generated headers, because of a small difference between widl and midl. widl generates "DEFINE_GUID" entries for each interface, while midl generates "extern GUID" only. The latter matching MS SDK headers. If someone can think of a more elegant way of solving this, let me know.
svn path=/branches/cmake-bringup/; revision=49837
Merge .CRT section into .rdata when linking to mingw lib. This silences the warnings about uninitialized constructors.
svn path=/branches/cmake-bringup/; revision=49799
- Use portable interlocked functions in code, define them to intrinsics for x86 and x64 in the header
svn path=/branches/cmake-bringup/; revision=49680
- Use ___readcr4 instead of __readcr4, because MSVC doesn't like this intrinsic to be redefined.
- Add _ftol2
svn path=/branches/cmake-bringup/; revision=49679
- 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
- Add #pragma function to a number of intrisics that we implement to avoid a compiler error of MSVC
- Add a workaround to prevent some functions from being inlined
- Move sqrtf out of i386 directory
- Convert a number of inline assembly functions to raw assembly
svn path=/branches/cmake-bringup/; revision=49534
- Add a preprocessed definition file for acledit.
- Add the pdef2def macro.
- Include wpp into build, widl links to it.
- Fix libmpg123.
svn path=/branches/cmake-bringup/; revision=49509
#if 0 _matherr(). We already have it in our crt and it's exported from msvcrt. MSVC doesn't like when it's there twice.
svn path=/branches/cmake-bringup/; revision=49506
- Explicitly disable auto imports, and fix the modules that were missed out by the previous related commit.
- Dedicated to Usurp.
svn path=/branches/cmake-bringup/; revision=49497
- Make all x86assembly ML compatible
- Remove memcpy, it was duplicated from memmove, copy the label instead
- Guard some code against compilation on msvc, as these functions are intrinsics on MSVC and cannot be implemented
- Fix some x64 assembly (don't modify stack below rsp)
svn path=/branches/cmake-bringup/; revision=49421
- rewrite spec2def macro because
1. cmake gracefully handles def files as source files
2. cmake gracefully handles autogenerated files as source
3. it did not take into account the fact that all shared libraries haven't the .dll extension
svn path=/branches/cmake-bringup/; revision=49358
- include stlport directory in set_cpp macro
- move set_cpp macro where it belongs : it's generic enough to go to CMakeMacros.cmake
svn path=/branches/cmake-bringup/; revision=49148
- add kernelmodedriver module type
- add set_cpp macro, which takes care of all c++ stuff for you
- hackfix stlport headers for c++ kernel mode modules.
- complain about explorer
- solitaire, telnet and uniata now build happily against stlport
svn path=/branches/cmake-bringup/; revision=49141
- More work on the dlls.
- libgcc is already a standard C lib, don't relink to it for executables.
- ICU isn't needed for now, disable it.
svn path=/branches/cmake-bringup/; revision=49059
- link executables against gcc and mingw_common
- remove link dependencies from mingw_common
This puts C executables into a good shape again.
svn path=/branches/cmake-bringup/; revision=49054
- Use stlport specific includes only for c++ source files
- remove linking to ntdll, kernel32 and oldnames for mingw_common
svn path=/branches/cmake-bringup/; revision=49050
- 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
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
- 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
- Generalize CMAKE_C_LINK_EXECUTABLE and CMAKE_EXE_LINKER_FLAGS, and use additional flags per module.
- Fix usetup: make it depend on psdk and buildno_header, and also fix the entry point (_NtProcessStartup -> _NtProcessStartup@4)
- Make ext2lib depend on psdk.
svn path=/branches/cmake-bringup/; revision=48802
- Now that we have c++ flags set globally, no need to mention them on the respective targets.
- debug.h : leftover from the kernel32 sync.
svn path=/branches/cmake-bringup/; revision=48543
- Move generated precompiled headers to binary folders.
- Enable auto image base for ntdll.
- Update the location of generated PCH files for rtl, ntdll and crt.
svn path=/branches/cmake-bringup/; revision=48459