1. 08 May, 2015 1 commit
  2. 07 May, 2015 4 commits
  3. 04 May, 2015 1 commit
    • cremno's avatar
      define YYDEBUG macro conditionally · 3cd80a52
      cremno authored
      The YYDEBUG macro enables parser debugging which
      unnecessarily increases the executable size (9 to 10 KB).
      Now it only will be defined when PARSER_DEBUG is too.
      3cd80a52
  4. 30 Apr, 2015 5 commits
  5. 29 Apr, 2015 3 commits
    • cremno's avatar
      always define SIZE_ERROR_MUL() macro · c579ab1c
      cremno authored
      Previously there wasn't a way to trigger the useful definition, but it
      is needed and that in every case to check for integer overflow due to
      multiplication and faulty/modified binary files.
      
      Also change existing code to a calloc()-like parameter order.
      c579ab1c
    • cremno's avatar
      remove SIZE_ERROR() macro · aaf2615e
      cremno authored
      It's only used once and in that case it isn't necessary anyway, since
      size_t must be at least 32 bits wide and
      the max. length of a filename is UINT16_MAX.
      aaf2615e
    • cremno's avatar
      4a82b939
  6. 28 Apr, 2015 4 commits
  7. 27 Apr, 2015 2 commits
  8. 26 Apr, 2015 4 commits
  9. 25 Apr, 2015 1 commit
  10. 24 Apr, 2015 8 commits
  11. 23 Apr, 2015 2 commits
  12. 18 Apr, 2015 4 commits
    • Yukihiro "Matz" Matsumoto's avatar
      Merge pull request #2766 from furunkel/builtin_overflow · 6246483f
      Yukihiro "Matz" Matsumoto authored
      Use builtins for overflow math if possible
      6246483f
    • Yukihiro "Matz" Matsumoto's avatar
      Merge pull request #2768 from kou/suppress-write-strings-warnings · 0f31f160
      Yukihiro "Matz" Matsumoto authored
      Suppress warnings generated by -Wwrite-strings
      0f31f160
    • Kouhei Sutou's avatar
      Suppress warnings generated by -Wwrite-strings · 09419874
      Kouhei Sutou authored
      Here are suppressed warnings:
      
          src/fmt_fp.c: In function 'fmt_fp':
          src/fmt_fp.c:124:16: warning: initialization discards 'const' qualifier from pointer target type
               char *ss = (t&32)?"inf":"INF";
                          ^
          src/fmt_fp.c:125:17: warning: assignment discards 'const' qualifier from pointer target type
               if (y!=y) ss=(t&32)?"nan":"NAN";
                           ^
          mrbgems/mruby-string-ext/src/string.c: In function 'mrb_str_succ_bang':
          mrbgems/mruby-string-ext/src/string.c:302:27: warning: assignment discards 'const' qualifier from pointer target type
                 if (e == b) prepend = "1";
                                     ^
          mrbgems/mruby-string-ext/src/string.c:305:27: warning: assignment discards 'const' qualifier from pointer target type
                 if (e == b) prepend = "a";
                                     ^
          mrbgems/mruby-string-ext/src/string.c:308:27: warning: assignment discards 'const' qualifier from pointer target type
                 if (e == b) prepend = "A";
                                     ^
          mrbgems/mruby-bin-mruby/tools/mruby/mruby.c: In function 'main':
          mrbgems/mruby-bin-mruby/tools/mruby/mruby.c:213:13: warning: assignment discards 'const' qualifier from pointer target type
               cmdline = args.cmdline ? args.cmdline : "-";
                       ^
          mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c: In function 'print_breakpoint':
          mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:159:3: warning: initialization discards 'const' qualifier from pointer target type
             char* enable_letter[] = {BREAK_INFO_MSG_DISABLE, BREAK_INFO_MSG_ENABLE};
             ^
          mrbgems/mruby-bin-debugger/tools/mrdb/cmdbreak.c:159:3: warning: initialization discards 'const' qualifier from pointer target type
      09419874
    • Kouhei Sutou's avatar
      Enable -Wwrite-strings by default for GCC · 058dc7bd
      Kouhei Sutou authored
      058dc7bd
  13. 17 Apr, 2015 1 commit