slang-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] incomplete typedefs in slang.h



I was trying to compile the rgrep utility from the latest jed prerelease and encountered a series of errors such as:

src/rgrep.c:364: error: invalid use of incomplete typedef `SLRegexp_Type'
src/rgrep.c:377: error: invalid use of incomplete typedef `SLsearch_Type'

A quick look in the slang-2.0.3 tarball showed that, for example, the definition of SLRegexp_Type is in slang.h:

typedef struct _pSLRegexp_Type SLRegexp_Type;

...but the struct _pSLRegexp_Type is defined in a .c file, therefore resulting in an incomplete definition. There must be several errors of this type in slang.h. I believe that the struct definitions should be moved to slang.h to fix this and achieve maximum compatibility. I'd really like to have this fixed in the next slang release...


Cheers,

Theodoros

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]