Throughout, (mainly in fhandler*) fix remaining gcc 4.7 mismatch
warnings between regparm definitions and declarations. * smallprint.cc (__small_vswprintf): Conditionalize declaration and setting of l_opt for only x86_64. * spawn.cc (child_info_spawn::worker): Remove unused 'pid' variable. * thread.cc (verifyable_object_isvalid): Temporarily define as non-inline with gcc 4.7+, regardless of target.
This commit is contained in:
@@ -38,8 +38,8 @@ extern "C" void __fp_lock_all ();
|
||||
extern "C" void __fp_unlock_all ();
|
||||
extern "C" int valid_sched_parameters(const struct sched_param *);
|
||||
extern "C" int sched_set_thread_priority(HANDLE thread, int priority);
|
||||
#ifdef __x86_64__
|
||||
/* FIXME: Temporarily workaround gcc 4.8 bug. */
|
||||
#if __GNUC__ == 4 && __GNUC_MINOR__ >= 7
|
||||
/* FIXME: Temporarily workaround gcc 4.7+ bug. */
|
||||
static verifyable_object_state
|
||||
#else
|
||||
static inline verifyable_object_state
|
||||
@@ -122,8 +122,8 @@ __cygwin_lock_unlock (_LOCK_T *lock)
|
||||
paranoid_printf ("threadcount %d. unlocked", MT_INTERFACE->threadcount);
|
||||
}
|
||||
|
||||
#ifdef __x86_64__
|
||||
/* FIXME: Temporarily workaround gcc 4.8 bug. */
|
||||
#if __GNUC__ == 4 && __GNUC_MINOR__ >= 7
|
||||
/* FIXME: Temporarily workaround gcc 4.7+ bug. */
|
||||
static verifyable_object_state
|
||||
#else
|
||||
static inline verifyable_object_state
|
||||
|
Reference in New Issue
Block a user