Andrey Semashev
c76f91eae2
Added filesystem_error ctors from C-style strings for description.
2021-05-29 02:11:10 +03:00
Andrey Semashev
8c676eaf8f
Avoid comparing pointers to a literal zero.
2021-05-17 17:40:20 +03:00
Andrey Semashev
c03249c375
Reformatted code for more consistent look and better readability.
2021-04-24 22:37:57 +03:00
Andrey Semashev
4137a9d6b1
Marked filesystem_error with VISIBLE and exported members with DECL macros.
...
This makes a difference in case if Boost.Filesystem is linked statically into
user's application. In this case filesystem_error used to be not marked as
publicly visible, which could make it impossible to catch the exception if
it crossed shared library boundary. By marking the class as publicly visible
we ensure that RTTI is always visible, even in static builds.
The exported members are also marked with dllexport/dllimport attributes
for compatibility with Windows.
2021-02-02 20:34:02 +03:00
Andrey Semashev
1104092053
Extracted platform defines to a separate header and include it everywhere.
...
This should fix readdir(_r) on 32-bit systems, which was not 64-bit after
commit c758552338 because _FILE_OFFSET_BITS=64
was not defined in directory.cpp. Also, there were filesystem-related system
calls in unique_path.cpp, where the macro was not defined either. Including
the platform header in all source files is useful for possible future changes
that may require the platform-specific macros.
Closes https://github.com/boostorg/filesystem/pull/150 .
2020-07-02 13:37:45 +03:00
Andrey Semashev
400f02590c
Fixed linking on MinGW and Cygwin.
...
GCC on Windows doesn't export vtable for filesystem_error if its destructor
is exported.
2019-08-01 14:52:07 +03:00
Andrey Semashev
f4769bd4c7
Extracted file_status and error handling helpers to separate headers.
...
This simplifies maintenance of the operations.hpp/cpp files.
Also, moved BOOST_FILESYSTEM_SOURCE definition to the build system files
instead of defining it in every source file.
2019-07-31 23:12:56 +03:00
Andrey Semashev
68ec5b1fb6
Extracted filesystem_error to a separate header and translation unit.
...
This simplifies maintenance of the operations.hpp header and should also
reduce size of the generated users' code.
2019-07-31 22:58:40 +03:00
Beman Dawes
583f944e67
Remove exception.cpp
...
[SVN r45826]
2008-05-27 17:49:17 +00:00
Hartmut Kaiser
89839af509
Wave: Updated to use new Spirit Classic library structure and namespace. Lots' of minor changes and adjustments. Switched version to 2.0 since this version is not backwards compatible anymore with earlier versions.
...
[SVN r44381]
2008-04-13 22:39:12 +00:00
Beman Dawes
22bb191bf0
Remove copyright symbol as it causes VC++ warnings on Windows with codepage set to non-English, particularly Asian, languages
...
[SVN r33295]
2006-03-09 22:15:07 +00:00
Beman Dawes
48d4335bfc
merge from i18n branch - at last!
...
[SVN r32079]
2005-12-16 16:40:35 +00:00
Beman Dawes
bc72a98614
Fix umlat in Dietmar's last name compiler warning
...
[SVN r31992]
2005-12-12 02:41:57 +00:00
Douglas Gregor
38ed4c472c
Documentation update from Jon T. Pedant
...
[SVN r23847]
2004-07-20 17:03:55 +00:00
Beman Dawes
5d414f1803
add arg to 2nd ctor
...
[SVN r22155]
2004-02-03 15:58:10 +00:00
Beman Dawes
c74ea146bf
suppress warnings, add missing thow_exception call (Lars Gullik Bjønnes)
...
[SVN r21569]
2004-01-09 21:07:26 +00:00
Beman Dawes
790047851b
update license so inspect can see it
...
[SVN r20959]
2003-11-26 12:45:13 +00:00
Beman Dawes
8f91eb8b7a
add abi, dll, auto_link
...
[SVN r20948]
2003-11-25 18:37:32 +00:00
Beman Dawes
2f7da5b37a
Add BOOST_FILESYSTEM_DECL
...
[SVN r20901]
2003-11-21 14:53:55 +00:00
Beman Dawes
8c8ea6e75b
Update copyright and license info
...
[SVN r20243]
2003-10-02 15:17:36 +00:00
Beman Dawes
77334ba34d
Change to new license, with permission from Dietmar and Jan
...
[SVN r20042]
2003-09-13 19:33:50 +00:00
Dave Abrahams
63bc5d1f3b
Removed unused variable which caused a Comeau warning.
...
[SVN r20001]
2003-09-10 16:06:38 +00:00
Beman Dawes
f446bb313e
share filesystem_error imp to make copying less memory intensive, recover from exceptions in some filesystem_error functions
...
[SVN r18072]
2003-03-24 02:32:33 +00:00
Beman Dawes
2ea74326bc
error arg fix (Peter Dimov)
...
[SVN r16750]
2003-01-04 15:18:10 +00:00
Beman Dawes
3f64ac195b
Platform detection fixes
...
[SVN r16749]
2003-01-04 15:07:09 +00:00
Beman Dawes
63f8c34b7f
filesystem_error redesign
...
[SVN r16723]
2002-12-30 19:16:31 +00:00
Beman Dawes
fadc0fc63e
fs_review branch merged
...
[SVN r16593]
2002-12-11 19:47:00 +00:00
Beman Dawes
b099134ee4
SGI MIPSpro fixes from Patrick Hartling
...
[SVN r16010]
2002-10-29 01:21:32 +00:00
Beman Dawes
543669496a
initial commit - review comments not yet applied
...
[SVN r15831]
2002-10-09 19:49:35 +00:00