fix missing noexcept

This commit is contained in:
Jinhao 2019-03-12 04:09:13 +08:00
parent beb87fe45b
commit b0392bfa3c
3 changed files with 12 additions and 4 deletions

View File

@ -30,6 +30,7 @@ library nana {
detail/platform_spec_selector.cpp
gui/animation.cpp
gui/basis.cpp
gui/dragdrop.cpp
gui/dragger.cpp
gui/drawing.cpp
gui/effects.cpp

View File

@ -1,7 +1,14 @@
Please refer to the Library Installation Documentation for the detailed installation instructions.
http://nanapro.org/en-us/help/instl_lib_doc.htm
https://github.com/qPCR4vir/nana-docs/wiki/Installation
NOTE: The method of library installation for VC2003/2005/2008/2010/2012 is only for the version older than 0.8. Since version 0.8, the library only works in VC2013 and later. If you have not VC2013 installed, please choose the latest Codeblocks instead.
Using Clang
https://github.com/cnjinhao/nana/wiki/Compiling-Nana-with-Clang-8.0
请参考库安装文档获取详细的安装步骤。
http://nanapro.org/zh-cn/help/instl_lib_doc.htm
注意: 针对VC2003/2005/2008/2010/2012的安装方法只适用于低于0.8的版本。从0.8版起该库对Visual C++的最低版本要求是2013。如果您没有安装VC2013可以使用最新版的CodeBlocks代替。
https://github.com/qPCR4vir/nana-docs/wiki/Installation
注意: 针对VC2003/2005/2008/2010/2012的安装方法只适用于低于0.8的版本。从0.8版起该库对Visual C++的最低版本要求是2013。如果您没有安装VC2013可以使用最新版的CodeBlocks代替。
使用 Clang
https://github.com/cnjinhao/nana/wiki/Compiling-Nana-with-Clang-8.0

View File

@ -1010,7 +1010,7 @@ namespace nana { namespace experimental { namespace filesystem
return bytes;
}
std::uintmax_t file_size(const path& p, std::error_code& ec)
std::uintmax_t file_size(const path& p, std::error_code& ec) noexcept
{
#if defined(NANA_WINDOWS)
//Some compilation environment may fail to link to GetFileSizeEx