Commit c1c2a2dc authored by claes's avatar claes

New gcc version

parent 441a4095
/*
* Proview $Id: opc_provider.h,v 1.9 2007-03-27 08:37:50 claes Exp $
* Proview $Id: opc_provider.h,v 1.10 2007-11-22 15:10:23 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -100,7 +100,7 @@ public:
int first, int last, int load_children, std::string *path);
void get_server_state();
char *opc_provider::name_to_objectname( char *name);
char *name_to_objectname( char *name);
void errlog( std::string* item, std::vector<s0__OPCError *>& errvect);
void init();
void fault();
......
/*
* Proview $Id: rt_ini_alias.c,v 1.4 2005-10-25 15:28:10 claes Exp $
* Proview $Id: rt_ini_alias.c,v 1.5 2007-11-22 15:10:23 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -116,7 +116,7 @@ ini_SetAttributeAfterPlc (
{
pwr_tStatus sts;
int elements;
char codeword[16];
char codeword[80];
pwr_tString132 *data_ptr;
pwr_tString132 *attribute_ptr;
pwr_tString132 *value_ptr;
......@@ -179,7 +179,7 @@ ini_SetAttribute (
{
pwr_tStatus sts;
int elements;
char codeword[16];
char codeword[80];
pwr_tString132 *data_ptr;
pwr_tString132 *attribute_ptr;
pwr_tString132 *value_ptr;
......
#ifdef RPC_HDR
%/*
% * Proview $Id: rt_net.x,v 1.11 2006-09-14 14:16:07 claes Exp $
% * Proview $Id: rt_net.x,v 1.12 2007-11-22 15:10:23 claes Exp $
% * Copyright (C) 2005 SSAB Oxelsund AB.
% *
% * This program is free software; you can redistribute it and/or
......@@ -243,7 +243,7 @@ struct net_sSubSpec {
%typedef struct {
% net_sMessage hdr pwr_dPacked; /* Header */
% pwr_tUInt32 count pwr_dPacked; /* # of entries */
% net_sSubSpec spec[1] pwr_dPacked; /* Specifications (dynamic) */
% net_sSubSpec spec[1]; /* Specifications (dynamic) */
%} net_sSubAdd;
%
%bool_t
......@@ -326,7 +326,7 @@ struct net_sSubSpec {
% pwr_tSubid sid pwr_dPacked; /* Tag */
% pwr_tStatus sts pwr_dPacked; /* Status */
% pwr_tUInt32 size pwr_dPacked; /* Size of data */
% char data[1] pwr_dPacked; /* Dynamic */
% char data[1]; /* Dynamic */
%} net_sSubData;
%bool_t xdr_net_sSubData();
%
......@@ -372,7 +372,7 @@ struct net_sSubSpec {
%typedef struct {
% net_sMessage hdr pwr_dPacked; /* Header when used as message */
% pwr_tUInt32 count pwr_dPacked; /* # of subdata entries in msg */
% net_sSubData subdata[1] pwr_dPacked; /* Dynamic */
% net_sSubData subdata[1]; /* Dynamic */
%} net_sSubMessage;
%
%bool_t xdr_net_sSubMessage();
......@@ -560,7 +560,7 @@ struct net_sSanData {
% pwr_tUInt32 lcount pwr_dPacked; /* Number of left siblings wanted. */
% pwr_tUInt32 rcount pwr_dPacked; /* Number of lright siblings wanted. */
% pwr_tUInt32 len pwr_dPacked; /* name buffer length */
% char name[1] pwr_dPacked; /* name buffer */
% char name[1]; /* name buffer */
%} net_sNameToObject;
%
%bool_t xdr_net_sNameToObject();
......@@ -732,7 +732,7 @@ struct net_sGetObjectInfo {
% pwr_tUInt32 sts pwr_dPacked; /* Status code */
% pwr_sAttrRef aref pwr_dPacked; /* Copy of requested info */
% pwr_tUInt32 size pwr_dPacked; /* Size of requested data, same as aref.size, in bytes. */
% char info[1] pwr_dPacked; /* Data requested. */
% char info[1]; /* Data requested. */
%} net_sGetObjectInfoR;
%
%bool_t xdr_net_sGetObjectInfoR();
......@@ -777,7 +777,7 @@ struct net_sGetObjectInfo {
% net_sMessage hdr pwr_dPacked; /* Header */
% pwr_sAttrRef aref pwr_dPacked; /* Data reference */
% pwr_tUInt32 size pwr_dPacked; /* Size of requested data, same as aref.size, in bytes. */
% char info[1] pwr_dPacked; /* Data to write (size bytes) */
% char info[1]; /* Data to write (size bytes) */
%} net_sSetObjectInfo;
%
%bool_t xdr_net_sSetObjectInfo();
......
/*
* Proview $Id: rt_qdb.h,v 1.10 2007-09-21 09:05:41 claes Exp $
* Proview $Id: rt_qdb.h,v 1.11 2007-11-22 15:10:23 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -379,7 +379,7 @@ typedef struct {
int version pwr_dPacked; /* Qcom protocol version */
pwr_tNodeId nid pwr_dPacked; /* node index */
int birth pwr_dPacked;
char name[80] pwr_dPacked; /* node name */
char name[80]; /* node name */
struct sockaddr_in sa pwr_dPacked;
qcom_tBus bus pwr_dPacked; /* buss number */
co_eOS os pwr_dPacked; /* operating system */
......
/*
* Proview $Id: wb_db.cpp,v 1.38 2007-10-26 06:27:42 claes Exp $
* Proview $Id: wb_db.cpp,v 1.39 2007-11-22 15:10:23 claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -981,8 +981,10 @@ static void printstat(DbEnv *ep, char *s)
printf(" maxnobjects..: %d\n", lp->st_maxnobjects);
printf(" nrequests....: %d\n", lp->st_nrequests);
printf(" nreleases....: %d\n", lp->st_nreleases);
#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 0
printf(" nnowaits.....: %d\n", lp->st_nnowaits);
printf(" nconflicts...: %d\n", lp->st_nconflicts);
#endif
printf(" ndeadlocks...: %d\n", lp->st_ndeadlocks);
printf(" regsize......: %d\n", lp->st_regsize);
printf(" region_wait..: %d\n", lp->st_region_wait);
......
/*
* Proview $Id: glow_growctx.h,v 1.13 2007-07-18 09:26:43 claes Exp $
* Proview $Id: glow_growctx.h,v 1.14 2007-11-22 15:10:23 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -781,7 +781,7 @@ class GrowCtx : public GlowCtx {
GlowArrayElem **next);
//! Check if object is visible. */
int GrowCtx::is_visible( GlowArrayElem *element, glow_eVisible type);
int is_visible( GlowArrayElem *element, glow_eVisible type);
char name[40]; //!< Name of the context.
grow_eMode edit_mode; //!< Current edit mode.
......
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