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
2d8a60e5
Kaydet (Commit)
2d8a60e5
authored
Eyl 05, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Disable C4702 when doing link-time code generation
Change-Id: I7d93c9cbb9a857384629b327c0f82b2e6d530bae
üst
4159310a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
com_MSC_defs.mk
solenv/gbuild/platform/com_MSC_defs.mk
+22
-0
No files found.
solenv/gbuild/platform/com_MSC_defs.mk
Dosyayı görüntüle @
2d8a60e5
...
...
@@ -117,6 +117,8 @@ gb_AFLAGS := $(AFLAGS)
# C4626: 'derived class' : assignment operator could not be generated
# because a base class assignment operator is inaccessible
# C4702: unreachable code
# C4706: assignment within conditional expression
# C4800: 'type' : forcing value to bool 'true' or 'false' (performance
...
...
@@ -187,6 +189,26 @@ gb_CXXFLAGS += \
endif
ifneq ($(ENABLE_LTO),)
# Sigh, but there are cases of C4702 when using link-time code
# generation and optimisation where I couldn't get
# __pragma(warning(disable:4702)) to help. Especially, the
# ImplInheritanceHelper2() {} in <cppuhelper/implbase2.hxx>
# was reported as containing "unreachable code" when linking
# the dbaccess dbu library. Let's try globally disabling C4702.
# Might be fixed in VS2013 though?
# VCVER=100 for VS2010 and VCVER=110 for VS2012
ifneq ($(filter 100 110,$(VCVER)),)
gb_CXXFLAGS += \
-wd4702 \
endif
endif
# New warning(s) in Visual Studio 2010, let's try disabling these only
# for that specific compiler version, in case a later one will not
# need them disabled.
...
...
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