[Olsr-commit] OLSR.org main repository branch, stable, updated. OLSRD_0_6_2-405-ga1aec44

(spam-protected) (spam-protected)
Tue May 29 21:54:08 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OLSR.org main repository".

        See http://olsr.org/git/?p=olsrd.git;a=commitdiff;h=OLSRD_0_6_2-405-ga1aec44
        for a web version of the last commit.

The branch, stable has been updated
       via  a1aec4482a52e69628464c42e8f13f621fc85328 (commit)
       via  571a6c99659ac8c566492c7080f62c98d85fc3c3 (commit)
       via  3048a591d374f011a624138fc3b4dd1db3fa0dbe (commit)
       via  8338ae2d285e20e6e2d5780dfc9360d888c4b791 (commit)
       via  c79e41c53c5c6ec84d68781f8a21ee3d3e268f3c (commit)
       via  247df06e955d5b4b0bdf824e1c0c43d7a068b10d (commit)
       via  cf452ae966e8b2868eecfd7d4344b85eaf0a78af (commit)
       via  08f0228c29f0274f1876316a5cb5d1616fdc225a (commit)
       via  f7d040628ac93e1f31996054264f1d544a2ae47a (commit)
       via  93b3e3c92d6e4e77719209c3da5c592d1e6f1a46 (commit)
       via  f30b82fd52f523a86d93ffe9a1bede7149833c64 (commit)
       via  69b28598cc3fac7399b2c8c905e8e6470e5bc842 (commit)
      from  17d6e5182454368714e5dd099426b1fa2b629543 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a1aec4482a52e69628464c42e8f13f621fc85328
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 13:04:18 2012 +0200

    Makefile: WARNINGS: add -Wunused-parameter
    
    -Wunused-parameter
      Warn whenever a function parameter is unused aside from its declaration.
    
      To suppress this warning use the unused attribute.
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit 571a6c99659ac8c566492c7080f62c98d85fc3c3
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 12:55:22 2012 +0200

    Makefile: WARNINGS: add -Wtrampolines
    
    -Wtrampolines
      Warn about trampolines generated for pointers to nested functions.
    
      A trampoline is a small piece of data or code that is created at run
      time on the stack when the address of a nested function is taken, and
      is used to call the nested function indirectly.  For some targets, it
      is made up of data only and thus requires no special treatment.  But,
      for most targets, it is made up of code and thus requires the stack
      to be made executable in order for the program to work properly.
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit 3048a591d374f011a624138fc3b4dd1db3fa0dbe
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 12:12:05 2012 +0200

    Makefile: WARNINGS: add -Wjump-misses-init
    
    -Wjump-misses-init (C, Objective-C only)
      Warn if a "goto" statement or a "switch" statement jumps forward
      across the initialization of a variable, or jumps backward to a
      label after the variable has been initialized.  This only warns
      about variables which are initialized when they are declared.
      This warning is only supported for C and Objective C; in C++ this
      sort of branch is an error in any case.
    
      -Wjump-misses-init is included in -Wc++-compat. It can be disabled
      with the -Wno-jump-misses-init option.
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit 8338ae2d285e20e6e2d5780dfc9360d888c4b791
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 12:09:32 2012 +0200

    Makefile: WARNINGS: add -Wlogical-op
    
    -Wlogical-op
      Warn about suspicious uses of logical operators in expressions.
      This includes using logical operators in contexts where a
      bit-wise operator is likely to be expected.
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit c79e41c53c5c6ec84d68781f8a21ee3d3e268f3c
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 12:03:54 2012 +0200

    Makefile: WARNINGS: add -Wundef
    
    -Wundef
      Warn if an undefined identifier is evaluated in an #if directive.
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit 247df06e955d5b4b0bdf824e1c0c43d7a068b10d
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 11:51:29 2012 +0200

    Makefile: WARNINGS: add -Wsync-nand
    
    -Wsync-nand (C and C++ only)
      Warn when "__sync_fetch_and_nand" and "__sync_nand_and_fetch"
      built-in functions are used.  These functions changed semantics
      in GCC 4.4.
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit cf452ae966e8b2868eecfd7d4344b85eaf0a78af
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 14:23:13 2012 +0200

    Makefile: WARNINGS: add -Wswitch-default
    
    -Wswitch-default
      Warn whenever a "switch" statement does not have a "default" case.
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit 08f0228c29f0274f1876316a5cb5d1616fdc225a
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 10:48:27 2012 +0200

    Makefile: WARNINGS: add -Winit-self
    
    -Winit-self (C, C++, Objective-C and Objective-C++ only)
       Warn about uninitialized variables which are initialized
       with themselves.  Note this option can only be used with
       the -Wuninitialized option.
    
       For example, GCC will warn about "i" being uninitialized
       in the following snippet only when -Winit-self has been
       specified:
    
               int f()
               {
                 int i = i;
                 return i;
               }
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit f7d040628ac93e1f31996054264f1d544a2ae47a
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 10:42:34 2012 +0200

    Makefile: WARNINGS: add -Wformat-y2k
    
    -Wformat-y2k
      If -Wformat is specified, also warn about "strftime" formats
      which may yield only a two-digit year.
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit 93b3e3c92d6e4e77719209c3da5c592d1e6f1a46
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 10:40:47 2012 +0200

    Makefile: WARNINGS: add -Wformat-security
    
    -Wformat-security
       If -Wformat is specified, also warn about uses of format
       functions that represent possible security problems.  At
       present, this warns about calls to "printf" and "scanf"
       functions where the format string is not a string literal
       and there are no format arguments, as in "printf (foo);".
       This may be a security hole if the format string came from
       untrusted input and contains %n. (This is currently a subset
       of what -Wformat-nonliteral warns about, but in future warnings
       may be added to -Wformat-security that are not included in
       -Wformat-nonliteral.)
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit f30b82fd52f523a86d93ffe9a1bede7149833c64
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 10:32:06 2012 +0200

    Makefile: WARNINGS: add -Wdouble-promotion
    
    -Wdouble-promotion (C, C++, Objective-C and Objective-C++ only)
       Give a warning when a value of type "float" is implicitly promoted to
       "double".  CPUs with a 32-bit "single-precision" floating-point unit
       implement "float" in hardware, but emulate "double" in software.  On
       such a machine, doing computations using "double" values is much more
       expensive because of the overhead required for software emulation.
    
       It is easy to accidentally do computations with "double" because
       floating-point literals are implicitly of type "double".
       For example, in:
    
               float area(float radius)
               {
                  return 3.14159 * radius * radius;
               }
    
       the compiler will perform the entire computation with "double"
       because the floating-point literal is a "double".
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

commit 69b28598cc3fac7399b2c8c905e8e6470e5bc842
Author: Ferry Huberts <(spam-protected)>
Date:   Tue May 29 15:09:41 2012 +0200

    win32: fix uninitialized variable when building with DEBUG=0 OPTIMIZE=-O2
    
    src/win32/compat.c: In function 'inet_ntop':
    src/win32/compat.c:437:25: error: 'best.len' may be used uninitialized in this function [-Werror=uninitialized]
    src/win32/compat.c:403:5: note: 'best.len' was declared here
    
    Signed-off-by: Ferry Huberts <(spam-protected)>

-----------------------------------------------------------------------

Summary of changes:
 Makefile.inc                       |   11 ++++
 gui/win32/Main/Frontend.h          |    2 +-
 gui/win32/Main/FrontendDlg.h       |    2 +-
 gui/win32/Main/MyDialog1.h         |    2 +-
 gui/win32/Main/MyDialog2.h         |    2 +-
 gui/win32/Main/MyDialog3.h         |    2 +-
 gui/win32/Main/MyDialog4.h         |    2 +-
 gui/win32/Main/MyEdit.h            |    2 +-
 gui/win32/Main/MyTabCtrl.h         |    2 +-
 gui/win32/Main/StdAfx.h            |    2 +-
 lib/bmf/src/NetworkInterfaces.c    |    2 +-
 lib/dot_draw/src/olsrd_dot_draw.c  |    2 +-
 lib/httpinfo/src/admin_interface.c |   10 ++--
 lib/httpinfo/src/olsrd_httpinfo.c  |   14 +++---
 lib/jsoninfo/src/olsrd_jsoninfo.c  |    2 +-
 lib/nameservice/src/mapwrite.c     |    2 +-
 lib/nameservice/src/nameservice.c  |   11 +++--
 lib/p2pd/src/p2pd.c                |   20 ++++----
 lib/pgraph/src/olsrd_pgraph.c      |    2 +-
 lib/secure/src/olsrd_secure.c      |    3 +-
 lib/tas/Makefile                   |    1 +
 lib/tas/src/http.c                 |    2 +
 lib/tas/src/plugin.c               |    4 +-
 src/bsd/net.c                      |    2 +-
 src/build_msg.c                    |   20 +++++---
 src/cfgparser/cfgfile_gen.c        |   46 +++++++++---------
 src/cfgparser/local.mk             |    2 +-
 src/cfgparser/olsrd_conf.c         |   94 +++++++++++++++++++-----------------
 src/cfgparser/oparse.y             |   38 +++++++-------
 src/fpm.c                          |    4 +-
 src/hashing.c                      |    5 ++-
 src/hysteresis.c                   |    4 +-
 src/link_set.c                     |    4 +-
 src/linux/kernel_tunnel.c          |    6 ++
 src/log.h                          |    2 +-
 src/lq_plugin_default_ffeth.c      |    2 +-
 src/lq_plugin_default_float.c      |   16 +++---
 src/lq_plugin_default_fpm.c        |    6 +-
 src/main.c                         |   16 +++---
 src/plugin_loader.c                |   14 +++---
 src/plugin_loader.h                |    4 +-
 src/process_routes.c               |    2 +-
 src/scheduler.c                    |    2 +-
 src/tc_set.c                       |    2 +-
 src/unix/log.c                     |    2 +-
 src/win32/compat.c                 |    2 +
 46 files changed, 220 insertions(+), 179 deletions(-)


hooks/post-receive
-- 
OLSR.org main repository




More information about the Olsr-commit mailing list