Remove a few more compile error messages from RHEL5

This commit is contained in:
Cary R 2013-04-17 17:44:45 -07:00
parent 15379f1750
commit d2928d500d
3 changed files with 5 additions and 4 deletions

View File

@ -512,7 +512,7 @@ static int show_stmt_assign_vector(ivl_statement_t net)
{ {
ivl_expr_t rval = ivl_stmt_rval(net); ivl_expr_t rval = ivl_stmt_rval(net);
struct vector_info res; struct vector_info res;
struct vector_info lres; struct vector_info lres = {0, 0};
struct vec_slice_info*slices = 0; struct vec_slice_info*slices = 0;
/* If this is a compressed assignment, then get the contents /* If this is a compressed assignment, then get the contents

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2011 Stephen Williams (steve@icarus.com) * Copyright (c) 2011-2013 Stephen Williams (steve@icarus.com)
* *
* This source code is free software; you can redistribute it * This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU * and/or modify it in source code form under the terms of the GNU
@ -18,6 +18,7 @@
*/ */
# include "expression.h" # include "expression.h"
# include "parse_types.h"
# include "scope.h" # include "scope.h"
# include <iostream> # include <iostream>
# include <typeinfo> # include <typeinfo>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012 Stephen Williams (steve@icarus.com) * Copyright (c) 2012-2013 Stephen Williams (steve@icarus.com)
* *
* This source code is free software; you can redistribute it * This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU * and/or modify it in source code form under the terms of the GNU
@ -131,7 +131,7 @@ void vvp_darray_string::set_word(unsigned adr, const string&value)
void vvp_darray_string::get_word(unsigned adr, string&value) void vvp_darray_string::get_word(unsigned adr, string&value)
{ {
if (adr >= array_.size()) { if (adr >= array_.size()) {
value = 0.0; value = "";
return; return;
} }