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
96d3a20f
Kaydet (Commit)
96d3a20f
authored
Ara 26, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: unreferenced formal parameters and old-style declarators
Change-Id: I3bdf909d169696b0ce79ee9830aa99ae880636db
üst
6ede7ad5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
glibc-2.1.3.patch
external/glibc/glibc-2.1.3.patch
+34
-0
No files found.
external/glibc/glibc-2.1.3.patch
Dosyayı görüntüle @
96d3a20f
...
...
@@ -27,3 +27,37 @@
const char *__shortopts,
const struct option *__longopts, int *__longind,
int __long_only);
--- misc/glibc-2.1.3/posix/getopt1.c
+++ misc/build/glibc-2.1.3/posix/getopt1.c
@@ -62,6 +62,13 @@
#ifndef NULL
#define NULL 0
#endif
+
+#ifdef _MSC_VER
+// C4100: unreferenced formal parameter
+#pragma warning (disable: 4100)
+// C4131: uses old-style declarator
+#pragma warning (disable: 4131)
+#endif
int
getopt_long (argc, argv, options, long_options, opt_index)
--- misc/glibc-2.1.3/posix/getopt.c
+++ misc/build/glibc-2.1.3/posix/getopt.c
@@ -86,6 +86,13 @@
# define _(msgid) (msgid)
# endif
#endif
+
+#ifdef _MSC_VER
+// C4100: unreferenced formal parameter
+#pragma warning (disable: 4100)
+// C4131: uses old-style declarator
+#pragma warning (disable: 4131)
+#endif
/* This version of `getopt' appears to the caller like standard Unix `getopt'
but it behaves differently for the user, since it allows the user
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