22 Aug
2013
22 Aug
'13
7:58 p.m.
On 20.8.2013, at 19.57, Luciano Mannucci luciano@vespaperitivo.it wrote:
I'm trying to upgrade a very old sparcstation running Solaris 8 which is running dovecot 1.x for few users. All I have for the task is good old gcc 2.95.2. The poor sod complains because it can't compute the sizeof(unsigned char prefix_text[]) at line 13 of log-error-buffer.c. Can I help it by - say - putting a constant between the '[]'? Or is it unfair? :-) I don't think it's woth modifying the distribution only for us owning machines that should be in a museum by now…
unsigned char prefix_text[FLEXIBLE_ARRAY_MEMBER]; probably works? Any other places where it fails?