2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-01-19 04:22:12 +00:00

22 Commits

Author SHA1 Message Date
Rene Rivera
02e9a8fefa The custom feature(s) need to be at the root as they need to be defined for all subprojects on load. 2024-08-15 21:20:54 -05:00
Rene Rivera
c548d0c373 Move inter-lib dependencies to a project variable and into the build targets. 2024-07-23 22:34:24 -05:00
Rene Rivera
3d7e61b4b5 Add missing import-search for cconfig/predef checks. 2024-05-04 23:30:44 -05:00
Rene Rivera
1525dc1e35 Add missing NO_LIB usage requirements. 2024-04-28 20:16:16 -05:00
Rene Rivera
4c33390408 Make the library modular usable. 2024-03-11 08:38:17 -05:00
Alexander Grund
f20b831c62 Add some missing C++11 requirements 2023-06-22 16:25:38 +02:00
Alexander Grund
2c40bddb30 Reduce duplicated requirements from Jamfiles 2023-06-22 16:24:52 +02:00
Alexander Grund
a0327e0b74 Update license headers
Use the more concise format omitting the reference to the license file
and refer to the URL only.
2022-07-13 12:35:54 +02:00
Alexander Grund
d078cfe3ac Add search paths for relative includes
Required for e.g. recent Cygwin where the current source files path is not added to the search path automatically.
2022-06-01 12:57:22 +02:00
Alexander Grund
87c28eec0a Run coverage tests with simulated disabled LFS support 2021-11-18 13:32:46 +01:00
Alexander Grund
4ac0ca57b1 Refactor iostream and test
- Init cin/cout/clog as early as possible using compiler specific attributes
- Set unitbuf for cerr as required by standard
- Move the streambuf out into own header and make the read/write function (to console) mockable
- Split test into small, named functions
2021-04-23 15:03:38 +02:00
Alexander Grund
ebefd3729e Move configure check files into config folder 2020-09-24 16:05:41 +02:00
Alexander Grund
b9f551105d Fix LFS detection (e.g. on Android)
(At least) the Android NDKs stdio.h does define fseeko but not if __USE_FILE_OFFSET64
is defined and the API level is below 24.
As the usage of this macro was inconsistent between the check and the
use LFS could be wrongly detected leading to a compile failure later.

Fixes #111
2020-07-22 16:05:10 +02:00
Alexander Grund
9afea2a34b Add support for UTF-8 stat 2020-06-17 08:41:22 +02:00
Alexander Grund
34468be18c Make Large File Support more portable
The macro based solution has the downside of cluttering the global
namespace and requires duplication in both config headers.
Additionally ftello64 might not be available on some system where the
define check succeeds.

This solution uses a cpp file to wrap the functions adding enhanced
exists checks and additionally checking for overflow returning -1
(error) in that case as mandated by the standard for the filebuf
functions.

Finally a configure check determines general availability of LFS and if
it is not available the standard fseek/ftell functions are used.
2020-06-09 21:44:30 +02:00
Alexander Grund
09ee463a6d Remove last remainings of compatibility code (Requires MSVC 2015+, libstd++5+) 2020-05-22 12:20:11 +02:00
Alexander Grund
eb3e09590b Properly set requirements and usage-requirements 2020-05-22 12:20:11 +02:00
Alexander Grund
20385d4a3c Fix name of license file 2020-05-22 12:20:11 +02:00
Alexander Grund
fc5da4b239 Move to C++11 as the minimum dropping boost dependencies 2020-05-22 12:20:03 +02:00
Alexander Grund
a54481131d Fix build on MinGW/Cygwin when -std=c++nn is passed
That flag forces ISO conformance removing the declarations of the
required _w* functions.
Move the implementations using those into source files and undef
__STRICT_ANSI__ inside that file

Also allows to not use the *_s functions on MSVC as
_CRT_SECURE_NO_WARNINGS can be safely define inside the cpp files.
2020-02-25 15:00:36 +01:00
Flamefire
0f15213b4f Remove unused define BOOST_NOWIDE_STATIC_LINK 2019-12-14 15:47:01 +01:00
Artyom Beilis
bfbca14bd3 Moved various files according to new boost format 2015-10-01 18:57:14 +03:00