2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Fix a few warnings

[SVN r75809]
This commit is contained in:
Steven Watanabe
2011-12-05 02:30:37 +00:00
parent 724d1894e2
commit 02e1de8b4e
3 changed files with 11 additions and 5 deletions

View File

@@ -1373,14 +1373,14 @@ LIST * builtin_update_now( FRAME * frame, int flags )
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 )

View File

@@ -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 @@ static void compile_parse( PARSE * parse, compiler * c, int result_location )
}
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 );
}
}

View File

@@ -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