Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
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ç
Batuhan Osman TASKAYA
cpython
Commits
b48af340
Kaydet (Commit)
b48af340
authored
Şub 26, 2015
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Silenced minor GCC warnings.
üst
e71258a0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
3 deletions
+18
-3
_ctypes.c
Modules/_ctypes/_ctypes.c
+3
-2
_testcapimodule.c
Modules/_testcapimodule.c
+7
-0
socketmodule.c
Modules/socketmodule.c
+7
-0
_freeze_importlib.c
Programs/_freeze_importlib.c
+1
-1
No files found.
Modules/_ctypes/_ctypes.c
Dosyayı görüntüle @
b48af340
...
...
@@ -2819,8 +2819,9 @@ _PyCData_set(CDataObject *dst, PyObject *type, SETFUNC setfunc, PyObject *value,
src
->
b_ptr
,
size
);
if
(
PyCPointerTypeObject_Check
(
type
))
/* XXX */
;
if
(
PyCPointerTypeObject_Check
(
type
))
{
/* XXX */
}
value
=
GetKeepedObjects
(
src
);
if
(
value
==
NULL
)
...
...
Modules/_testcapimodule.c
Dosyayı görüntüle @
b48af340
...
...
@@ -69,6 +69,10 @@ test_config(PyObject *self)
static
PyObject
*
test_sizeof_c_types
(
PyObject
*
self
)
{
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wtype-limits"
#endif
#define CHECK_SIZEOF(TYPE, EXPECTED) \
if (EXPECTED != sizeof(TYPE)) { \
PyErr_Format(TestError, \
...
...
@@ -126,6 +130,9 @@ test_sizeof_c_types(PyObject *self)
#undef IS_SIGNED
#undef CHECK_SIGNESS
#undef CHECK_SIZEOF
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
...
...
Modules/socketmodule.c
Dosyayı görüntüle @
b48af340
...
...
@@ -1966,8 +1966,15 @@ cmsg_min_space(struct msghdr *msg, struct cmsghdr *cmsgh, size_t space)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wtautological-compare"
#endif
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wtype-limits"
#endif
if
(
msg
->
msg_controllen
<
0
)
return
0
;
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
...
...
Programs/_freeze_importlib.c
Dosyayı görüntüle @
b48af340
...
...
@@ -17,7 +17,7 @@
of frozen modules instead, left deliberately blank so as to avoid
unintentional import of a stale version of _frozen_importlib. */
const
static
struct
_frozen
_PyImport_FrozenModules
[]
=
{
static
const
struct
_frozen
_PyImport_FrozenModules
[]
=
{
{
0
,
0
,
0
}
/* sentinel */
};
...
...
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