-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clang libcxx warnings <2.0.x> (#1304)
* Refs 8887. Fixing TypeObjectFactory. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 8887. Uncrustify. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 8887. Fixing SharedMemUUID. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 8887. Uncrustify. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 8887. Update sqlite to version 3.32.3. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 8887. Update boost files to version 1.73.0. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 8887. Fixing sp_counted_base_clang. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 8887. Include what you use. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 8887. Mark GetVersionEx methods as deprecated.
- Loading branch information
1 parent
d5718a1
commit 8e69642
Showing
301 changed files
with
70,795 additions
and
43,402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
#ifndef BOOST_ASSERT_SOURCE_LOCATION_HPP_INCLUDED | ||
#define BOOST_ASSERT_SOURCE_LOCATION_HPP_INCLUDED | ||
|
||
// http://www.boost.org/libs/assert | ||
// | ||
// Copyright 2019 Peter Dimov | ||
// Distributed under the Boost Software License, Version 1.0. | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
|
||
#include <boost/current_function.hpp> | ||
#include <boost/config.hpp> | ||
#include <boost/cstdint.hpp> | ||
#include <iosfwd> | ||
|
||
namespace boost | ||
{ | ||
|
||
struct source_location | ||
{ | ||
private: | ||
|
||
char const * file_; | ||
char const * function_; | ||
boost::uint_least32_t line_; | ||
boost::uint_least32_t column_; | ||
|
||
public: | ||
|
||
BOOST_CONSTEXPR source_location() BOOST_NOEXCEPT: file_( "(unknown)" ), function_( "(unknown)" ), line_( 0 ), column_( 0 ) | ||
{ | ||
} | ||
|
||
BOOST_CONSTEXPR source_location( char const * file, boost::uint_least32_t ln, char const * function, boost::uint_least32_t col = 0 ) BOOST_NOEXCEPT: file_( file ), function_( function ), line_( ln ), column_( col ) | ||
{ | ||
} | ||
|
||
BOOST_CONSTEXPR char const * file_name() const BOOST_NOEXCEPT | ||
{ | ||
return file_; | ||
} | ||
|
||
BOOST_CONSTEXPR char const * function_name() const BOOST_NOEXCEPT | ||
{ | ||
return function_; | ||
} | ||
|
||
BOOST_CONSTEXPR boost::uint_least32_t line() const BOOST_NOEXCEPT | ||
{ | ||
return line_; | ||
} | ||
|
||
BOOST_CONSTEXPR boost::uint_least32_t column() const BOOST_NOEXCEPT | ||
{ | ||
return column_; | ||
} | ||
}; | ||
|
||
template<class E, class T> std::basic_ostream<E, T> & operator<<( std::basic_ostream<E, T> & os, source_location const & loc ) | ||
{ | ||
os.width( 0 ); | ||
|
||
if( loc.line() == 0 ) | ||
{ | ||
os << "(unknown source location)"; | ||
} | ||
else | ||
{ | ||
os << loc.file_name() << ':' << loc.line(); | ||
|
||
if( loc.column() ) | ||
{ | ||
os << ':' << loc.column(); | ||
} | ||
|
||
os << ": in function '" << loc.function_name() << '\''; | ||
} | ||
|
||
return os; | ||
} | ||
|
||
} // namespace boost | ||
|
||
#if defined( BOOST_DISABLE_CURRENT_LOCATION ) | ||
|
||
# define BOOST_CURRENT_LOCATION ::boost::source_location() | ||
|
||
#else | ||
|
||
# define BOOST_CURRENT_LOCATION ::boost::source_location(__FILE__, __LINE__, BOOST_CURRENT_FUNCTION) | ||
|
||
#endif | ||
|
||
#endif // #ifndef BOOST_ASSERT_SOURCE_LOCATION_HPP_INCLUDED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.