[Devel] [ openser-Bugs-1442869 ] unixodbc compile problem
SourceForge.net
noreply at sourceforge.net
Mon Mar 6 10:01:39 CET 2006
Bugs item #1442869, was opened at 2006-03-04 04:54
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1442869&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Norman Brandinger (goestelecom)
>Assigned to: Bogdan (bogdan_iancu)
Summary: unixodbc compile problem
Initial Comment:
Build from CVS (3/3/2006) produced the following error:
In file included from dbase.c:40:
my_con.h:47: error: flexible array member in otherwise
empty struct
The code in question is below:
#define STRN_LEN
typedef struct strn
{
char s[STRN_LEN];
} strn;
I review of a diff to the previous version of my_con.h is:
typedef struct strn
{
char s[1024];
} strn;
An obvious solution is to change the define to:
#define STRN_LEN 1024
Regards,
Norm
----------------------------------------------------------------------
>Comment By: Bogdan (bogdan_iancu)
Date: 2006-03-06 11:01
Message:
Logged In: YES
user_id=1275325
right, indeed..
thanks!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1442869&group_id=139143
More information about the Devel
mailing list