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
127d842c
Kaydet (Commit)
127d842c
authored
Eyl 07, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix liborcus warnings
Change-Id: I6811e7d451c96d5e52e152e693b1c4739be308dc
üst
f006e75f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
1 deletion
+64
-1
liborcus_0.1.0-warnings.patch
liborcus/liborcus_0.1.0-warnings.patch
+62
-0
makefile.mk
liborcus/makefile.mk
+2
-1
No files found.
liborcus/liborcus_0.1.0-warnings.patch
0 → 100644
Dosyayı görüntüle @
127d842c
--- misc/liborcus_0.1.0/src/liborcus/pstring.cpp 2012-09-07 06:00:35.000000000 +0200
+++ misc/build/liborcus_0.1.0/src/liborcus/pstring.cpp 2012-09-07 16:56:14.000000000 +0200
@@ -57,25 +57,25 @@
pstring pstring::intern(const char* str, size_t n)
{
- ::boost::mutex::scoped_lock(interned_strings.mtx);
+ ::boost::mutex::scoped_lock lock(interned_strings.mtx);
return interned_strings.store.intern(str, n);
}
void pstring::intern::dispose()
{
- ::boost::mutex::scoped_lock(interned_strings.mtx);
+ ::boost::mutex::scoped_lock lock(interned_strings.mtx);
interned_strings.store.clear();
}
size_t pstring::intern::size()
{
- ::boost::mutex::scoped_lock(interned_strings.mtx);
+ ::boost::mutex::scoped_lock lock(interned_strings.mtx);
return interned_strings.store.size();
}
void pstring::intern::dump()
{
- ::boost::mutex::scoped_lock(interned_strings.mtx);
+ ::boost::mutex::scoped_lock lock(interned_strings.mtx);
interned_strings.store.dump();
}
--- misc/liborcus_0.1.0/src/liborcus/xml_map_tree.cpp 2012-09-07 06:00:35.000000000 +0200
+++ misc/build/liborcus_0.1.0/src/liborcus/xml_map_tree.cpp 2012-09-07 16:59:23.000000000 +0200
@@ -55,15 +55,14 @@
{
const char* mp_char;
const char* mp_end;
- size_t m_size;
public:
- xpath_parser(const char* p, size_t n) : mp_char(p), mp_end(p+n), m_size(n)
+ xpath_parser(const char* p, size_t n) : mp_char(p), mp_end(p+n)
{
if (!n)
- xml_map_tree::xpath_error("empty path");
+ throw xml_map_tree::xpath_error("empty path");
if (*p != '/')
- xml_map_tree::xpath_error("first character must be '/'.");
+ throw xml_map_tree::xpath_error("first character must be '/'.");
++mp_char;
}
@@ -414,7 +413,7 @@
{
// Make sure the root element's names are the same.
if (mp_root->name != name)
- xpath_error("path begins with inconsistent root level name.");
+ throw xpath_error("path begins with inconsistent root level name.");
}
else
{
liborcus/makefile.mk
Dosyayı görüntüle @
127d842c
...
...
@@ -35,7 +35,8 @@ TARGET=orcus
TARFILE_NAME
=
liborcus_0.1.0
TARFILE_MD5
=
46d9f4cf8b145c21ce1056e116d2ce71
PATCH_FILES
=
PATCH_FILES
=
liborcus_0.1.0-warnings.patch
# -Werror,-Wunused-variable -Werror,-Wunused-private-field
.IF
"$(GUI)$(COM)"
==
"WNTMSC"
...
...
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