Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 17.4 - can I reference to an array, inside a struct?
#5
Aargh, you are quite right and I was stupid.

Ok, I think that's the syntax I need. Thanks to both of you.

Now the only problem is that PC-lint doesn't like the & in
const TSomeStruct s = { &buf, BUFSIZ };
(Warning 545: Suspicious use of &) but that'd be something for the GImpel website, not here.

So thanks again

Frank
<t></t>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)