summaryrefslogtreecommitdiff
path: root/cesar/ecos/packages
diff options
context:
space:
mode:
authorschodet2009-06-04 15:37:26 +0000
committerschodet2009-06-04 15:37:26 +0000
commit497e459bc9832d70d28b07c91d90b9ca2cfc067f (patch)
tree51a7972245cb63de2c1a41efae1afd28511f6cf8 /cesar/ecos/packages
parent4a8d689711492747ff873317bcb487a7c3ed3a6b (diff)
* ecos:
- hide new warnings with recent GCC versions. - fixed others. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4750 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/ecos/packages')
-rw-r--r--cesar/ecos/packages/hal/maximus/i386linux/current/cdl/hal_maximus_i386.cdl2
-rw-r--r--cesar/ecos/packages/hal/synth/i386linux/current/cdl/hal_synth_i386.cdl2
-rw-r--r--cesar/ecos/packages/language/c/libc/signals/current/include/signal.inl4
-rw-r--r--cesar/ecos/packages/language/c/libc/time/current/include/time.inl2
-rw-r--r--cesar/ecos/packages/services/memalloc/common/current/include/dlmallocimpl.hxx2
5 files changed, 6 insertions, 6 deletions
diff --git a/cesar/ecos/packages/hal/maximus/i386linux/current/cdl/hal_maximus_i386.cdl b/cesar/ecos/packages/hal/maximus/i386linux/current/cdl/hal_maximus_i386.cdl
index b561984960..54058b968d 100644
--- a/cesar/ecos/packages/hal/maximus/i386linux/current/cdl/hal_maximus_i386.cdl
+++ b/cesar/ecos/packages/hal/maximus/i386linux/current/cdl/hal_maximus_i386.cdl
@@ -89,7 +89,7 @@ cdl_package CYGPKG_HAL_MAXIMUS_I386 {
display "Global compiler flags"
flavor data
no_define
- default_value { "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" }
+ default_value { "-Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Woverloaded-virtual -Wno-write-strings -Wno-parentheses -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" }
description "
This option controls the global compiler flags which
are used to compile all packages by
diff --git a/cesar/ecos/packages/hal/synth/i386linux/current/cdl/hal_synth_i386.cdl b/cesar/ecos/packages/hal/synth/i386linux/current/cdl/hal_synth_i386.cdl
index e6976c8b6c..f3ec267bc9 100644
--- a/cesar/ecos/packages/hal/synth/i386linux/current/cdl/hal_synth_i386.cdl
+++ b/cesar/ecos/packages/hal/synth/i386linux/current/cdl/hal_synth_i386.cdl
@@ -122,7 +122,7 @@ cdl_package CYGPKG_HAL_SYNTH_I386 {
display "Global compiler flags"
flavor data
no_define
- default_value { "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" }
+ default_value { "-Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Woverloaded-virtual -Wno-write-strings -Wno-parentheses -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" }
description "
This option controls the global compiler flags which
are used to compile all packages by
diff --git a/cesar/ecos/packages/language/c/libc/signals/current/include/signal.inl b/cesar/ecos/packages/language/c/libc/signals/current/include/signal.inl
index 988b8f3a1e..fcb3e470f5 100644
--- a/cesar/ecos/packages/language/c/libc/signals/current/include/signal.inl
+++ b/cesar/ecos/packages/language/c/libc/signals/current/include/signal.inl
@@ -103,7 +103,7 @@ extern void cyg_libc_signals_lock_do_unlock(void);
// cyg_libc_signals_lock() //
/////////////////////////////
-static inline cyg_bool
+extern inline cyg_bool
cyg_libc_signals_lock(void)
{
#ifdef CYGSEM_LIBC_SIGNALS_THREAD_SAFE
@@ -117,7 +117,7 @@ cyg_libc_signals_lock(void)
// cyg_libc_signals_unlock() //
///////////////////////////////
-static inline void
+extern inline void
cyg_libc_signals_unlock(void)
{
#ifdef CYGSEM_LIBC_SIGNALS_THREAD_SAFE
diff --git a/cesar/ecos/packages/language/c/libc/time/current/include/time.inl b/cesar/ecos/packages/language/c/libc/time/current/include/time.inl
index 684e06e98e..d40d525fea 100644
--- a/cesar/ecos/packages/language/c/libc/time/current/include/time.inl
+++ b/cesar/ecos/packages/language/c/libc/time/current/include/time.inl
@@ -152,7 +152,7 @@ extern time_t cyg_libc_time_current_dst_offset;
// The argument is of type int in line with struct tm
//
-static __inline__ cyg_bool
+extern __inline__ cyg_bool
cyg_libc_time_year_is_leap( int __year )
{
cyg_bool _leap=false;
diff --git a/cesar/ecos/packages/services/memalloc/common/current/include/dlmallocimpl.hxx b/cesar/ecos/packages/services/memalloc/common/current/include/dlmallocimpl.hxx
index bbb267b42d..369b1ffb90 100644
--- a/cesar/ecos/packages/services/memalloc/common/current/include/dlmallocimpl.hxx
+++ b/cesar/ecos/packages/services/memalloc/common/current/include/dlmallocimpl.hxx
@@ -102,7 +102,7 @@ public:
typedef size_t Cyg_dlmalloc_size_t;
- typedef struct malloc_chunk
+ struct malloc_chunk
{
Cyg_dlmalloc_size_t prev_size; /* Size of previous chunk (if free). */
Cyg_dlmalloc_size_t size; /* Size in bytes, including overhead. */