|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75809 - trunk/tools/build/v2/engine
From: steven_at_[hidden]
Date: 2011-12-04 21:30:38
Author: steven_watanabe
Date: 2011-12-04 21:30:37 EST (Sun, 04 Dec 2011)
New Revision: 75809
URL: http://svn.boost.org/trac/boost/changeset/75809
Log:
Fix a few warnings
Text files modified:
trunk/tools/build/v2/engine/builtins.c | 8 ++++----
trunk/tools/build/v2/engine/function.c | 6 +++++-
trunk/tools/build/v2/engine/jam.c | 2 ++
3 files changed, 11 insertions(+), 5 deletions(-)
Modified: trunk/tools/build/v2/engine/builtins.c
==============================================================================
--- trunk/tools/build/v2/engine/builtins.c (original)
+++ trunk/tools/build/v2/engine/builtins.c 2011-12-04 21:30:37 EST (Sun, 04 Dec 2011)
@@ -1373,14 +1373,14 @@
LIST * force = lol_get( frame->args, 2 );
LIST * continue_ = lol_get( frame->args, 3 );
int status = 0;
- int original_stdout;
- int original_stderr;
+ int original_stdout = 0;
+ int original_stderr = 0;
int n;
int targets_count;
OBJECT * * targets2;
int i;
- int original_noexec;
- int original_quitquick;
+ int original_noexec = 0;
+ int original_quitquick = 0;
if ( log )
Modified: trunk/tools/build/v2/engine/function.c
==============================================================================
--- trunk/tools/build/v2/engine/function.c (original)
+++ trunk/tools/build/v2/engine/function.c 2011-12-04 21:30:37 EST (Sun, 04 Dec 2011)
@@ -26,6 +26,10 @@
# include <windows.h>
# endif
+int glob( const char * s, const char * c );
+void backtrace( FRAME * frame );
+void backtrace_line( FRAME * frame );
+
#define INSTR_PUSH_EMPTY 0
#define INSTR_PUSH_CONSTANT 1
#define INSTR_PUSH_ARG 2
@@ -2034,7 +2038,7 @@
}
else
{
- printf( "%s:%d: Conditional used as list (check operator precedence).\n", object_str(parse->file), parse->line, parse->num );
+ printf( "%s:%d: Conditional used as list (check operator precedence).\n", object_str(parse->file), parse->line );
exit( 1 );
}
}
Modified: trunk/tools/build/v2/engine/jam.c
==============================================================================
--- trunk/tools/build/v2/engine/jam.c (original)
+++ trunk/tools/build/v2/engine/jam.c 2011-12-04 21:30:37 EST (Sun, 04 Dec 2011)
@@ -127,6 +127,8 @@
#include "execcmd.h"
#include "constants.h"
#include "function.h"
+#include "pwd.h"
+#include "hcache.h"
/* Macintosh is "special" */
#ifdef OS_MAC
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk