Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b09df185
Kaydet (Commit)
b09df185
authored
Nis 13, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
boost: split up boost.jsonparser.warnings.patch.0
Change-Id: I680a19b87708459501816cb7de228468f167caa9
üst
4321efa2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
74 additions
and
75 deletions
+74
-75
UnpackedTarball_boost.mk
external/boost/UnpackedTarball_boost.mk
+3
-3
boost.jsonparser.warnings.patch.0
external/boost/boost.jsonparser.warnings.patch.0
+0
-69
boost.property_tree.Wshadow.warnings.patch.1
external/boost/boost.property_tree.Wshadow.warnings.patch.1
+60
-3
boost.property_tree.Wtautological-constant-out-of-range-compare.warnings.patch.0
...utological-constant-out-of-range-compare.warnings.patch.0
+11
-0
No files found.
external/boost/UnpackedTarball_boost.mk
Dosyayı görüntüle @
b09df185
...
...
@@ -10,6 +10,8 @@
boost_patches :=
#https://svn.boost.org/trac/boost/ticket/3780
boost_patches += boost.3780.aliasing.patch
#https://svn.boost.org/trac/boost/ticket/9397
boost_patches += boost.9397.warnings.patch.0
#http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47679
boost_patches += boost.gcc47679.patch
#https://svn.boost.org/trac/boost/ticket/6369
...
...
@@ -26,6 +28,7 @@ boost_patches += boost.multi_array.C4510.warnings.patch
boost_patches += boost.multi_array.Wshadow.warnings.patch
boost_patches += boost.multi_index.Wshadow.warnings.patch.1
boost_patches += boost.property_tree.Wshadow.warnings.patch.1
boost_patches += boost.property_tree.Wtautological-constant-out-of-range-compare.warnings.patch.0
boost_patches += boost.ptr_container.Wshadow.warnings.patch
boost_patches += boost.ptr_container.Wignored-qualifiers.warnings.patch
boost_patches += boost.ptr_container.Wextra.warnings.patch
...
...
@@ -55,9 +58,6 @@ boost_patches += boost.wshadow.patch
boost_patches += boost.wdeprecated-register.patch.0
boost_patches += boost.wuninitialized.patch
boost_patches += boost.wdeprecated-auto_ptr.patch.0
#https://svn.boost.org/trac/boost/ticket/9397
boost_patches += boost.9397.warnings.patch.0
boost_patches += boost.jsonparser.warnings.patch.0
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
...
...
external/boost/boost.jsonparser.warnings.patch.0
deleted
100644 → 0
Dosyayı görüntüle @
4321efa2
--- boost/property_tree/string_path.hpp
+++ boost/property_tree/string_path.hpp
@@ -88,14 +88,14 @@ namespace boost { namespace property_tree
typedef typename String::value_type char_type;
/// Create an empty path.
- explicit string_path(char_type separator = char_type('.'));
+ explicit string_path(char_type separator_ = char_type('.'));
/// Create a path by parsing the given string.
/// @param value A sequence, possibly with separators, that describes
/// the path, e.g. "one.two.three".
/// @param separator The separator used in parsing. Defaults to '.'.
/// @param tr The translator used by this path to convert the individual
/// parts to keys.
- string_path(const String &value, char_type separator = char_type('.'),
+ string_path(const String &value, char_type separator_ = char_type('.'),
Translator tr = Translator());
/// Create a path by parsing the given string.
/// @param value A zero-terminated array of values. Only use if zero-
@@ -106,7 +106,7 @@ namespace boost { namespace property_tree
/// @param tr The translator used by this path to convert the individual
/// parts to keys.
string_path(const char_type *value,
- char_type separator = char_type('.'),
+ char_type separator_ = char_type('.'),
Translator tr = Translator());
// Default copying doesn't do the right thing with the iterator
@@ -162,23 +162,23 @@ namespace boost { namespace property_tree
};
template <typename String, typename Translator> inline
- string_path<String, Translator>::string_path(char_type separator)
- : m_separator(separator), m_start(m_value.begin())
+ string_path<String, Translator>::string_path(char_type separator_)
+ : m_separator(separator_), m_start(m_value.begin())
{}
template <typename String, typename Translator> inline
string_path<String, Translator>::string_path(const String &value,
- char_type separator,
+ char_type separator_,
Translator tr)
- : m_value(value), m_separator(separator),
+ : m_value(value), m_separator(separator_),
m_tr(tr), m_start(m_value.begin())
{}
template <typename String, typename Translator> inline
string_path<String, Translator>::string_path(const char_type *value,
- char_type separator,
+ char_type separator_,
Translator tr)
- : m_value(value), m_separator(separator),
+ : m_value(value), m_separator(separator_),
m_tr(tr), m_start(m_value.begin())
{}
--- boost/property_tree/detail/json_parser_write.hpp
+++ boost/property_tree/detail/json_parser_write.hpp
@@ -33,7 +33,7 @@
// We escape everything outside ASCII, because this code can't
// handle high unicode characters.
if (*b == 0x20 || *b == 0x21 || (*b >= 0x23 && *b <= 0x2E) ||
- (*b >= 0x30 && *b <= 0x5B) || (*b >= 0x5D && *b <= 0xFF))
+ (*b >= 0x30 && *b <= 0x5B) || (*b >= 0x5D && static_cast<typename std::basic_string<Ch>::traits_type::int_type>(*b) <= 0xFF))
result += *b;
else if (*b == Ch('\b')) result += Ch('\\'), result += Ch('b');
else if (*b == Ch('\f')) result += Ch('\\'), result += Ch('f');
external/boost/boost.property_tree.Wshadow.warnings.patch.1
Dosyayı görüntüle @
b09df185
...
...
@@ -8,9 +8,9 @@
- const std::string &filename,
- unsigned long line):
- file_parser_error(message, filename, line)
+ json_parser_error(const std::string &message_,
+ const std::string &filename_,
+ unsigned long line_):
+ json_parser_error(const std::string &message_,
+ const std::string &filename_,
+ unsigned long line_):
+ file_parser_error(message_, filename_, line_)
{
}
...
...
@@ -333,4 +333,61 @@
typename translator_between<data_type, Type>::type());
}
--- a/boost/property_tree/string_path.hpp
+++ a/boost/property_tree/string_path.hpp
@@ -88,14 +88,14 @@ namespace boost { namespace property_tree
typedef typename String::value_type char_type;
/// Create an empty path.
- explicit string_path(char_type separator = char_type('.'));
+ explicit string_path(char_type separator_ = char_type('.'));
/// Create a path by parsing the given string.
/// @param value A sequence, possibly with separators, that describes
/// the path, e.g. "one.two.three".
/// @param separator The separator used in parsing. Defaults to '.'.
/// @param tr The translator used by this path to convert the individual
/// parts to keys.
- string_path(const String &value, char_type separator = char_type('.'),
+ string_path(const String &value, char_type separator_ = char_type('.'),
Translator tr = Translator());
/// Create a path by parsing the given string.
/// @param value A zero-terminated array of values. Only use if zero-
@@ -106,7 +106,7 @@ namespace boost { namespace property_tree
/// @param tr The translator used by this path to convert the individual
/// parts to keys.
string_path(const char_type *value,
- char_type separator = char_type('.'),
+ char_type separator_ = char_type('.'),
Translator tr = Translator());
// Default copying doesn't do the right thing with the iterator
@@ -162,23 +162,23 @@ namespace boost { namespace property_tree
};
template <typename String, typename Translator> inline
- string_path<String, Translator>::string_path(char_type separator)
- : m_separator(separator), m_start(m_value.begin())
+ string_path<String, Translator>::string_path(char_type separator_)
+ : m_separator(separator_), m_start(m_value.begin())
{}
template <typename String, typename Translator> inline
string_path<String, Translator>::string_path(const String &value,
- char_type separator,
+ char_type separator_,
Translator tr)
- : m_value(value), m_separator(separator),
+ : m_value(value), m_separator(separator_),
m_tr(tr), m_start(m_value.begin())
{}
template <typename String, typename Translator> inline
string_path<String, Translator>::string_path(const char_type *value,
- char_type separator,
+ char_type separator_,
Translator tr)
- : m_value(value), m_separator(separator),
+ : m_value(value), m_separator(separator_),
m_tr(tr), m_start(m_value.begin())
{}
external/boost/boost.property_tree.Wtautological-constant-out-of-range-compare.warnings.patch.0
0 → 100644
Dosyayı görüntüle @
b09df185
--- boost/property_tree/detail/json_parser_write.hpp
+++ boost/property_tree/detail/json_parser_write.hpp
@@ -33,7 +33,7 @@
// We escape everything outside ASCII, because this code can't
// handle high unicode characters.
if (*b == 0x20 || *b == 0x21 || (*b >= 0x23 && *b <= 0x2E) ||
- (*b >= 0x30 && *b <= 0x5B) || (*b >= 0x5D && *b <= 0xFF))
+ (*b >= 0x30 && *b <= 0x5B) || (*b >= 0x5D && static_cast<typename std::basic_string<Ch>::traits_type::int_type>(*b) <= 0xFF))
result += *b;
else if (*b == Ch('\b')) result += Ch('\\'), result += Ch('b');
else if (*b == Ch('\f')) result += Ch('\\'), result += Ch('f');
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment