Commit a227aec0 authored by claes's avatar claes

Adjusted to gcc 3.0

parent 391480d7
......@@ -3,6 +3,7 @@
PROVIEW/R
Copyright (C) 1994 by Comator Process AB. */
#include <string.h>
#include "wb_pwrs.h"
#include "wb_pwrs_msg.h"
#include "wb_ldh.h"
......
......@@ -553,9 +553,13 @@ void wb_erep::loadMeta( pwr_tStatus *status)
strcpy( vname, "$pwrp_db/directory.db");
dcli_translate_filename( vname, vname);
wb_vrepdb *vrepdb = new wb_vrepdb( this, vname);
vrepdb->name("directory");
addDb( &sts, vrepdb);
sts = dcli_search_file( vname, found_file, DCLI_DIR_SEARCH_INIT);
dcli_search_file( vname, found_file, DCLI_DIR_SEARCH_END);
if ( ODD(sts)) {
wb_vrepdb *vrepdb = new wb_vrepdb( this, vname);
vrepdb->name("directory");
addDb( &sts, vrepdb);
}
if ( EVEN(sts))
*status = LDH__PROJCONFIG;
else if ( !vol_cnt)
......
......@@ -5,6 +5,8 @@
#include "pwr.h"
#include "wb_ldh.h"
using namespace std;
class wb_treeexport;
class wb_adrep;
class wb_vrep;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment