simon-git: puzzles (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Apr 23 18:51:16 BST 2018


TL;DR:
  f04923a Build fix: stop initialising an auto char array.

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2018-04-23 18:51:16

commit f04923abbcd676585548c5824262cecb47ba6d11
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=f04923abbcd676585548c5824262cecb47ba6d11;hp=60a929a250cf4f7f87ac082e5705f9a838a7f8c8
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Apr 23 18:42:13 2018 +0100

    Build fix: stop initialising an auto char array.
    
    Checking with the standards, I think this is legal C99, but not legal
    C89 - and we are compiling in C89 mode. Why _every_ version of gcc
    didn't object, given all the warning and pedantry options, I'm not
    sure, but one did, so I should fix it.

 misc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list