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
bc0642f9
Kaydet (Commit)
bc0642f9
authored
Kas 18, 2010
tarafından
obo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
CWS-TOOLING: integrate CWS sb136
üst
9a29bc26
697265b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
5 deletions
+18
-5
addsym.awk
solenv/bin/addsym.awk
+18
-5
No files found.
solenv/bin/addsym.awk
Dosyayı görüntüle @
bc0642f9
...
...
@@ -26,16 +26,29 @@
#*************************************************************************
# Add certain symbol patterns to the first global section.
#
# The below code fails with 'perverted' mapfiles (using a strange line layout,
# or containing version UDK_3_0_0 without a global section, ...).
BEGIN
{
state
=
0
}
/
\{
/
&&
state
==
1
{
exit
1
}
#TODO: print error explanation to stderr?
/^
[\t
]
*UDK_3_0_0
[\t
]
*
\{
/
&&
state
==
0
{
state
=
1
}
/^
[\t
]
*global
[\t
]
*:/
&&
state
==
1
{
state
=
2
}
{
print
}
END
{
if
(
state
==
0
)
{
print
"# Weak RTTI symbols for C++ exceptions:"
print
"UDK_3_0_0 {"
print
"global:"
print
"_ZTI*; _ZTS*; # weak RTTI symbols for C++ exceptions"
if
(
ENVIRON
[
"USE_SYSTEM_STL"
]
!=
"YES"
)
print
"_ZN4_STL7num_put*; # for STLport"
print
"};"
}
}
state
==
2
{
print
"_ZTI*; _ZTS*; # weak RTTI symbols for C++ exceptions"
if
(
ENVIRON
[
"USE_SYSTEM_STL"
]
!=
"YES"
)
print
"_ZN4_STL7num_put*; # for STLport"
state
=
3
}
END
{
if
(
state
!=
3
)
exit
1
}
#TODO: print error explanation to stderr?
# #i66636# - ???
/^
[\t
]
*UDK_3_0_0
[\t
]
*
\{
/
{
state
=
1
}
/^
[\t
]
*global
[\t
]
*:/
&&
state
==
1
{
state
=
2
}
{
print
}
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