Skip to content

Commit

Permalink
Merge branch 'work'
Browse files Browse the repository at this point in the history
  • Loading branch information
oktonion committed Dec 9, 2019
2 parents 4219f5d + b25a059 commit 57f3686
Show file tree
Hide file tree
Showing 17 changed files with 2,025 additions and 1,748 deletions.
23 changes: 21 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,26 @@

All notable changes to stdex library project will be documented in this file.

visit https://github.com/oktonion/stdex for the latest version of stdex library
visit [https://github.com/oktonion/stdex](https://github.com/oktonion/stdex) for the latest version of stdex library

## [0.2.3] - 2019-12-09

### Added

- static asserts in constructors for `<system_error>` to forbid invalid constructor calls
- `<algorithm>` header:
- - SFINAE checks for `std::copy_n` existence

### Changed

- `<cstdint>` header:
- - hack for integral constant detection for Visual Studio 2019
- Borland Builder build script changed (removed extra cmd line arguments)

### Fixed

- `<string>` header:
- - removed warnings for signed/unsigned casts in `itol`, `itoul` etc.

## [0.2.2] - 2019-07-11

Expand Down Expand Up @@ -127,7 +146,7 @@ visit https://github.com/oktonion/stdex for the latest version of stdex library
### Removed

- rudimentary code for `nullptr` implementation

### Changed

- `is_array` now detects `T[]` (array with no size)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ example script build for Windows (with Visual Studio 2008 and Windows Kit 8.1 in
```bat
call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
set LIB=%LIB%C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86\;
set INCLUDE=%INCLUDE%;%cd%\pthread;
cl -EHsc -Fo.\obj\main.obj -c ".\main.cpp"
cl .\obj\main.obj stdex.lib ntdll.lib -Fe.\bin\main.exe -link -LIBPATH:.\stdex\lib
```
Expand All @@ -217,4 +218,4 @@ COMPILER=clang++
$COMPILER main.cpp -L./stdex/lib/ -lstdex -lpthread -o "./bin/main"
```

visit https://github.com/oktonion/stdex for the latest version of stdex library
visit [https://github.com/oktonion/stdex](https://github.com/oktonion/stdex) for the latest version of stdex library
2 changes: 1 addition & 1 deletion stdex/build_lib.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set INCLUDE=%INCLUDE%;%cd%\pthread;
set build_opt="-Ox"

if ["%~1"]==["debug"] (
set "build_opt="
set "build_opt=-DEBUG -D _DEBUG"
echo "debug build"
)

Expand Down
2 changes: 2 additions & 0 deletions stdex/build_lib.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

$COMPILER --version

mkdir ./obj
Expand Down
8 changes: 5 additions & 3 deletions stdex/build_lib_bcc32.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ["%~1"]==["debug"] (
)

echo "compiling Borland C++ pthread-win32"
bcc32 -w -tWM -Q -n.\stdex\obj\ -DHAVE_CONFIG_H;PTW32_STATIC_LIB -I%cd%\pthread\ -c .\pthread-win32\pthread.c %build_opt%
bcc32 -X- -w -tWC -Q -n.\stdex\obj\ -DHAVE_CONFIG_H;PTW32_STATIC_LIB -I%cd%\pthread\ -c .\pthread-win32\pthread.c %build_opt%
if ERRORLEVEL 1 set "build_ok=0"
if /I "%build_ok%" NEQ "1" (
echo "failed"
Expand All @@ -24,8 +24,10 @@ cd .\stdex

for /f %%f in ('dir /b ".\src\*.cpp"') do (
echo "compiling %%~nf"
bcc32 -w -tWM -Q -n.\obj\ -I%cd%\..\pthread\ -c ".\src\%%f" %build_opt%
if ERRORLEVEL 1 set "build_ok=0"
bcc32 -X- -w -tWC -Q -n.\obj\ -I%cd%\..\pthread\ -c ".\src\%%f" %build_opt%
if ERRORLEVEL 1 (
set "build_ok=0"
)
)

if /I "%build_ok%" NEQ "1" (
Expand Down
2 changes: 2 additions & 0 deletions stdex/build_lib_qnx.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

COMPILER=qcc

$COMPILER --version
Expand Down
Loading

0 comments on commit 57f3686

Please sign in to comment.