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. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -100,7 +100,7 @@ public: ...@@ -100,7 +100,7 @@ public:
int first, int last, int load_children, std::string *path); int first, int last, int load_children, std::string *path);
void get_server_state(); 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 errlog( std::string* item, std::vector<s0__OPCError *>& errvect);
void init(); void init();
void fault(); 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. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -116,7 +116,7 @@ ini_SetAttributeAfterPlc ( ...@@ -116,7 +116,7 @@ ini_SetAttributeAfterPlc (
{ {
pwr_tStatus sts; pwr_tStatus sts;
int elements; int elements;
char codeword[16]; char codeword[80];
pwr_tString132 *data_ptr; pwr_tString132 *data_ptr;
pwr_tString132 *attribute_ptr; pwr_tString132 *attribute_ptr;
pwr_tString132 *value_ptr; pwr_tString132 *value_ptr;
...@@ -179,7 +179,7 @@ ini_SetAttribute ( ...@@ -179,7 +179,7 @@ ini_SetAttribute (
{ {
pwr_tStatus sts; pwr_tStatus sts;
int elements; int elements;
char codeword[16]; char codeword[80];
pwr_tString132 *data_ptr; pwr_tString132 *data_ptr;
pwr_tString132 *attribute_ptr; pwr_tString132 *attribute_ptr;
pwr_tString132 *value_ptr; pwr_tString132 *value_ptr;
......
#ifdef RPC_HDR #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. % * Copyright (C) 2005 SSAB Oxelsund AB.
% * % *
% * This program is free software; you can redistribute it and/or % * This program is free software; you can redistribute it and/or
...@@ -243,7 +243,7 @@ struct net_sSubSpec { ...@@ -243,7 +243,7 @@ struct net_sSubSpec {
%typedef struct { %typedef struct {
% net_sMessage hdr pwr_dPacked; /* Header */ % net_sMessage hdr pwr_dPacked; /* Header */
% pwr_tUInt32 count pwr_dPacked; /* # of entries */ % pwr_tUInt32 count pwr_dPacked; /* # of entries */
% net_sSubSpec spec[1] pwr_dPacked; /* Specifications (dynamic) */ % net_sSubSpec spec[1]; /* Specifications (dynamic) */
%} net_sSubAdd; %} net_sSubAdd;
% %
%bool_t %bool_t
...@@ -326,7 +326,7 @@ struct net_sSubSpec { ...@@ -326,7 +326,7 @@ struct net_sSubSpec {
% pwr_tSubid sid pwr_dPacked; /* Tag */ % pwr_tSubid sid pwr_dPacked; /* Tag */
% pwr_tStatus sts pwr_dPacked; /* Status */ % pwr_tStatus sts pwr_dPacked; /* Status */
% pwr_tUInt32 size pwr_dPacked; /* Size of data */ % pwr_tUInt32 size pwr_dPacked; /* Size of data */
% char data[1] pwr_dPacked; /* Dynamic */ % char data[1]; /* Dynamic */
%} net_sSubData; %} net_sSubData;
%bool_t xdr_net_sSubData(); %bool_t xdr_net_sSubData();
% %
...@@ -372,7 +372,7 @@ struct net_sSubSpec { ...@@ -372,7 +372,7 @@ struct net_sSubSpec {
%typedef struct { %typedef struct {
% net_sMessage hdr pwr_dPacked; /* Header when used as message */ % net_sMessage hdr pwr_dPacked; /* Header when used as message */
% pwr_tUInt32 count pwr_dPacked; /* # of subdata entries in msg */ % pwr_tUInt32 count pwr_dPacked; /* # of subdata entries in msg */
% net_sSubData subdata[1] pwr_dPacked; /* Dynamic */ % net_sSubData subdata[1]; /* Dynamic */
%} net_sSubMessage; %} net_sSubMessage;
% %
%bool_t xdr_net_sSubMessage(); %bool_t xdr_net_sSubMessage();
...@@ -560,7 +560,7 @@ struct net_sSanData { ...@@ -560,7 +560,7 @@ struct net_sSanData {
% pwr_tUInt32 lcount pwr_dPacked; /* Number of left siblings wanted. */ % pwr_tUInt32 lcount pwr_dPacked; /* Number of left siblings wanted. */
% pwr_tUInt32 rcount pwr_dPacked; /* Number of lright siblings wanted. */ % pwr_tUInt32 rcount pwr_dPacked; /* Number of lright siblings wanted. */
% pwr_tUInt32 len pwr_dPacked; /* name buffer length */ % pwr_tUInt32 len pwr_dPacked; /* name buffer length */
% char name[1] pwr_dPacked; /* name buffer */ % char name[1]; /* name buffer */
%} net_sNameToObject; %} net_sNameToObject;
% %
%bool_t xdr_net_sNameToObject(); %bool_t xdr_net_sNameToObject();
...@@ -732,7 +732,7 @@ struct net_sGetObjectInfo { ...@@ -732,7 +732,7 @@ struct net_sGetObjectInfo {
% pwr_tUInt32 sts pwr_dPacked; /* Status code */ % pwr_tUInt32 sts pwr_dPacked; /* Status code */
% pwr_sAttrRef aref pwr_dPacked; /* Copy of requested info */ % pwr_sAttrRef aref pwr_dPacked; /* Copy of requested info */
% pwr_tUInt32 size pwr_dPacked; /* Size of requested data, same as aref.size, in bytes. */ % 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; %} net_sGetObjectInfoR;
% %
%bool_t xdr_net_sGetObjectInfoR(); %bool_t xdr_net_sGetObjectInfoR();
...@@ -777,7 +777,7 @@ struct net_sGetObjectInfo { ...@@ -777,7 +777,7 @@ struct net_sGetObjectInfo {
% net_sMessage hdr pwr_dPacked; /* Header */ % net_sMessage hdr pwr_dPacked; /* Header */
% pwr_sAttrRef aref pwr_dPacked; /* Data reference */ % pwr_sAttrRef aref pwr_dPacked; /* Data reference */
% pwr_tUInt32 size pwr_dPacked; /* Size of requested data, same as aref.size, in bytes. */ % 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; %} net_sSetObjectInfo;
% %
%bool_t xdr_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. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -379,7 +379,7 @@ typedef struct { ...@@ -379,7 +379,7 @@ typedef struct {
int version pwr_dPacked; /* Qcom protocol version */ int version pwr_dPacked; /* Qcom protocol version */
pwr_tNodeId nid pwr_dPacked; /* node index */ pwr_tNodeId nid pwr_dPacked; /* node index */
int birth pwr_dPacked; int birth pwr_dPacked;
char name[80] pwr_dPacked; /* node name */ char name[80]; /* node name */
struct sockaddr_in sa pwr_dPacked; struct sockaddr_in sa pwr_dPacked;
qcom_tBus bus pwr_dPacked; /* buss number */ qcom_tBus bus pwr_dPacked; /* buss number */
co_eOS os pwr_dPacked; /* operating system */ 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. * Copyright (C) 2005 SSAB Oxelösund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -981,8 +981,10 @@ static void printstat(DbEnv *ep, char *s) ...@@ -981,8 +981,10 @@ static void printstat(DbEnv *ep, char *s)
printf(" maxnobjects..: %d\n", lp->st_maxnobjects); printf(" maxnobjects..: %d\n", lp->st_maxnobjects);
printf(" nrequests....: %d\n", lp->st_nrequests); printf(" nrequests....: %d\n", lp->st_nrequests);
printf(" nreleases....: %d\n", lp->st_nreleases); printf(" nreleases....: %d\n", lp->st_nreleases);
#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 0
printf(" nnowaits.....: %d\n", lp->st_nnowaits); printf(" nnowaits.....: %d\n", lp->st_nnowaits);
printf(" nconflicts...: %d\n", lp->st_nconflicts); printf(" nconflicts...: %d\n", lp->st_nconflicts);
#endif
printf(" ndeadlocks...: %d\n", lp->st_ndeadlocks); printf(" ndeadlocks...: %d\n", lp->st_ndeadlocks);
printf(" regsize......: %d\n", lp->st_regsize); printf(" regsize......: %d\n", lp->st_regsize);
printf(" region_wait..: %d\n", lp->st_region_wait); 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. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -781,7 +781,7 @@ class GrowCtx : public GlowCtx { ...@@ -781,7 +781,7 @@ class GrowCtx : public GlowCtx {
GlowArrayElem **next); GlowArrayElem **next);
//! Check if object is visible. */ //! 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. char name[40]; //!< Name of the context.
grow_eMode edit_mode; //!< Current edit mode. 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