1. 12 Dec, 2013 1 commit
  2. 11 Dec, 2013 2 commits
    • Paul Eggert's avatar
      Make 'configure' work out-of-the-box on Solaris. · 7204a2e6
      Paul Eggert authored
      * configure.ac: Work even if libgif etc. are missing.  Emacs works
      without these libraries even if its default GUI is harmed, so they
      are not strictly necessary.  Another possibility would be to
      disable X11 if these libraries are missing.  The point is that a
      plain 'configure' should not fail on platforms like Solaris 11
      where one or more image libraries are not installed by default.
      7204a2e6
    • Paul Eggert's avatar
      Remove the option of using libcrypto. · a8f9bc05
      Paul Eggert authored
      This scorches the earth and waits for spring;
      see Ted Zlatanov and Stefan Monnier in
      <http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00323.html>.
      * configure.ac (with_openssl_default, HAVE_LIB_CRYPTO): Remove.
      Do not say whether Emacs is configured to use a crypto library,
      since it's no longer an option.
      (gl_CRYPTO_CHECK): Define a dummy.
      * lib/gl_openssl.h, m4/gl-openssl.m4: Remove.
      * admin/merge-gnulib: Remove lib/gl_openssh.h and m4/gl-openssl.m4.
      * src/Makefile.in (LIB_CRYPTO): Remove.
      (LIBES): Don't use it.
      a8f9bc05
  3. 10 Dec, 2013 1 commit
  4. 08 Dec, 2013 3 commits
    • Eli Zaretskii's avatar
      Fix librsvg build on MS-Windows. · 83a5a2c8
      Eli Zaretskii authored
       configure.ac (HAVE_RSVG) [mingw32]: Don't link against librsvg statically.
      83a5a2c8
    • Paul Eggert's avatar
      * configure.ac: Simplify supression of GTK deprecation warning. · 3bc9da32
      Paul Eggert authored
      Move -DGDK_DISABLE_DEPRECATION_WARNINGS out of the command line
      and into config.h, to shorten the command line when doing 'make'.
      Don't AC_SUBST GTK_CFLAGS, as this is not needed.
      3bc9da32
    • Paul Eggert's avatar
      Use libcrypto's checksum implementations if available, for speed. · e9551b12
      Paul Eggert authored
      On commonly used platform libcrypto uses architecture-specific
      assembly code, which is significantly faster than the C code we
      were using.  See Pádraig Brady's note in
      <http://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00000.html>.
      Merge from gnulib, incorporating:
      2013-12-07 md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
      2013-12-07 md5, sha1, sha256, sha512: add 'auto', and set-default method
      2013-12-04 include_next: minimize code duplication
      2013-12-03 md5, sha1, sha256, sha512: support mandating use of openssl
      2013-12-02 md5, sha1, sha256, sha512: use openssl routines if available
      * configure.ac (--without-all): Set with_openssl_default too.
      Use gl_SET_CRYPTO_CHECK_DEFAULT to default to 'auto'.
      (HAVE_LIB_CRYPTO): New var.
      Say whether Emacs is configured to use a crypto library.
      * lib/gl_openssl.h, m4/absolute-header.m4, m4/gl-openssl.m4:
      New files, copied from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h:
      * lib/sha256.c, lib/sha256.h, lib/sha512.c, lib/sha512.h:
      * m4/include_next.m4, m4/md5.m4, m4/sha1.m4, m4/sha256.m4, m4/sha512.m4:
      Update from gnulib.
      * src/Makefile.in (LIB_CRYPTO): New macro.
      (LIBES): Use it.
      e9551b12
  5. 01 Dec, 2013 1 commit
  6. 30 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Stop keeping (all but one) generated cedet grammar files in the repository · f9b697dd
      Glenn Morris authored
      * configure.ac (SUBDIR_MAKEFILES, AC_CONFIG_FILES):
      Add admin/grammars Makefile.
      
      * Makefile.in (distclean, bootstrap-clean, maintainer-clean):
      Also clean admin/grammars, if present.
      
      * admin/grammars/README: Remove.
      
      * admin/grammars/Makefile.in: New file.
      
      * admin/grammars/c.by, admin/grammars/java-tags.wy, admin/grammars/js.wy:
      * admin/grammars/python.wy: Update declarations to match generated outputs.
      
      * lisp/Makefile.in (semantic): New.
      (compile-main): Depend on semantic.
      
      * lisp/cedet/semantic/bovine/grammar.el (bovine--make-parser-1):
      New function, split from bovine-make-parsers.
      (bovine-make-parsers): Use bovine--make-parser-1.
      (bovine-batch-make-parser): New function.
      
      * lisp/cedet/semantic/wisent/grammar.el (wisent--make-parser-1):
      New function, split from wisent-make-parsers.
      (wisent-make-parsers): Use wisent--make-parser-1.
      (wisent-batch-make-parser): New function.
      
      * lisp/cedet/semantic/db.el (semanticdb-save-all-db):
      Avoid prompting in batch mode.
      
      * lisp/cedet/semantic/grammar.el (semantic-grammar-footer-template):
      Disable version-control and autoloads in the output.
      (semantic-grammar-create-package):
      Add option to return nil if output is up-to-date.
      
      * lisp/cedet/semantic/bovine/c-by.el, lisp/cedet/semantic/bovine/make-by.el:
      * lisp/cedet/semantic/bovine/scm-by.el, lisp/cedet/semantic/wisent/javat-wy.el:
      * lisp/cedet/semantic/wisent/js-wy.el, lisp/cedet/semantic/wisent/python-wy.el:
      * lisp/cedet/srecode/srt-wy.el: Remove generated files from repository.
      
      * .bzrignore: Update for this.
      f9b697dd
  7. 29 Nov, 2013 1 commit
    • Stefan Monnier's avatar
      * configure.ac (HAVE_MENUS): Remove. · 7cdf484b
      Stefan Monnier authored
      * src/xmenu.c (Fmenu_or_popup_active_p):
      * src/window.c (Fset_window_configuration):
      * src/menu.c (Fx_popup_menu, Fx_popup_dialog):
      * src/keyboard.c (record_menu_key, read_char_x_menu_prompt):
      * src/fns.c (Fyes_or_no_p):
      * src/editfns.c (Fmessage_box, Fmessage_or_box):
      * src/alloc.c (make_save_ptr_ptr):
      * src/xdisp.c, src/w32menu.c, src/term.c, src/xterm.h, src/xterm.c:
      Remove HAVE_MENUS.
      7cdf484b
  8. 28 Nov, 2013 2 commits
  9. 27 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Move runtime leim lisp files to lisp/leim directory · cb6c95a3
      Glenn Morris authored
      This allows us to reuse much of the lisp build and installation machinery,
      rather than duplicating it.
      
      * Makefile.in (abs_builddir, leimdir): Remove.
      (buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory.
      (epaths-force-w32): No longer set BLD.
      (leim): Remove.
      (install-arch-indep): No longer run or install leim.
      (mostlyclean, clean): No longer run leim rule.
      (bootstrap-clean): Change leim target.
      (maintainer-clean): Add leim.
      (check-declare): Remove leim.
      
      * README: Update for leim changes.
      
      * configure.ac (leimdir): Remove.
      (standardlisppath): No more leimdir.
      
      * make-dist: Update for files from leim/ now being in lisp/leim/.
      
      * doc/lispref/loading.texi (Library Search):
      * doc/lispref/os.texi (Startup Summary): No more leim directory.
      
      * leim/Makefile.in (leimdir): New variable.
      (TIT_GB, TIT_BIG5, MISC, changed.tit, changed.misc)
      (${leimdir}/leim-list.el, ${leimdir}/ja-dic/ja-dic.el):
      Generate in $leimdir.
      (all): Remove compilation, add ja-dic.
      (leim-list.el): Now PHONY.
      (setwins, compile-targets, compile-main, clean, mostlyclean)
      (extraclean): Remove.
      (bootstrap-clean): Delete all generated files.
      
      * leim/README: Update for moved leim/ directory.
      
      * leim/leim-ext.el (ucs-input-activate, hangul-input-method-activate):
      Remove manual autoloads; now in loaddefs.el.
      Disable byte-compile, version-control, autoloads in the output.
      
      * lisp/Makefile.in (setwins_for_subdirs): Skip leim/ directory.
      (compile-main): Depend on lisp/leim rule.
      (leim): New rule.
      
      * lisp/loadup.el: Move leim-list.el to leim/ subdirectory.
      
      * lisp/startup.el (normal-top-level): No more leim directory.
      
      * lisp/international/ja-dic-cnv.el (skkdic-convert):
      Disable version-control and autoloads in output files.
      * lisp/international/titdic-cnv.el (titdic-convert, miscdic-convert):
      Disable version-control and autoloads in output files.
      
      * lisp/leim/quail: Move here from ../leim.
      
      * lisp/leim/quail/hangul.el (hangul-input-method-activate):
      Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * lisp/leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * nt/README.W32:
      * nt/addpm.c (env_vars):
      * nt/epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
      * nt/paths.h (PATH_LOADSEARCH): No more leim directory.
      
      * src/Makefile.in (leimdir): Now in lisp source directory.
      ($(leimdir)/leim-list.el): Just use ../leim .
      
      * src/epaths.in (PATH_DUMPLOADSEARCH):
      
      * src/lread.c (load_path_default):
      
      * src/nsterm.m (ns_load_path): No more leim directory.
      
      * .bzrignore: Update for relocated leim files.
      cb6c95a3
  10. 21 Nov, 2013 2 commits
  11. 17 Nov, 2013 1 commit
  12. 15 Nov, 2013 1 commit
  13. 14 Nov, 2013 1 commit
    • Paul Eggert's avatar
      Simplify, port and tune bool vector implementation. · 2cf00efc
      Paul Eggert authored
      * configure.ac (BITSIZEOF_SIZE_T, SIZEOF_SIZE_T): Remove.
      * src/alloc.c (bool_vector_exact_payload_bytes)
      (bool_vector_payload_bytes): Remove.
      (bool_vector_fill): Return its argument.
      * src/alloc.c (bool_vector_fill):
      * src/lread.c (read1):
      * src/print.c (print_object):
      Simplify by using bool_vector_bytes.
      * src/alloc.c (make_uninit_bool_vector):
      New function, broken out from Fmake_bool_vector.
      (Fmake_bool_vector): Use it.  Use tail call.
      (make_uninit_bool_vector, vector_nbytes): Simplify size calculations.
      * src/data.c (BITS_PER_ULL): New constant.
      (ULLONG_MAX, count_one_bits_ll): Fall back on long counterparts
      if long long versions don't exist.
      (shift_right_ull): New function.
      (count_one_bits_word): New function, replacing popcount_bits_word
      macro.  Don't assume that bits_word is no wider than long long.
      (count_one_bits_word, count_trailing_zero_bits):
      Don't assume that bits_word is no wider than long long.
      * src/data.c (bool_vector_binop_driver, bool_vector_not):
      * src/fns.c (Fcopy_sequence):
      * src/lread.c (read1):
      Create an uninitialized destination, to avoid needless work.
      (internal_equal): Simplify.
      (Ffillarray): Prefer tail call.
      * src/data.c (bool_vector_binop_driver): Don't assume bit vectors always
      contain at least one word.
      (bits_word_to_host_endian): Prefer if to #if.  Don't assume
      chars are narrower than ints.
      * src/data.c (Fbool_vector_count_matches, Fbool_vector_count_matches_at):
      * src/fns.c (Fcopy_sequence):
      Simplify and tune.
      * src/lisp.h (bits_word, BITS_WORD_MAX, BITS_PER_BITS_WORD):
      Don't try to port to hosts where bits_word values have holes; the
      code wouldn't work there anyway.  Verify this assumption, though.
      (bool_vector_bytes): New function.
      (make_uninit_bool_vector): New decl.
      (bool_vector_fill): Now returns Lisp_Object.
      2cf00efc
  14. 12 Nov, 2013 2 commits
    • Glenn Morris's avatar
      * configure.ac: test portability fix · 45088549
      Glenn Morris authored
        (I can never remember whether this is still relevant or not)
      45088549
    • Dani Moncayo's avatar
      Remove nt/msysconfig.sh · f4f38fad
      Dani Moncayo authored
      * configure.ac [MINGW32]: Source nt/mingw-cfg.site.
      
      * make-dist: Don't distribute nt/msysconfig.sh.
      
      * nt/msysconfig.sh: Remove.
      
      * nt/INSTALL: Update for this.
      
      * nt/mingw-cfg.site: Comment.
      f4f38fad
  15. 07 Nov, 2013 1 commit
    • Paul Eggert's avatar
      Port to C11 aligned_alloc, and fix some integer overflows. · aea07e2c
      Paul Eggert authored
      * configure.ac (GMALLOC_OBJ): Initialize to empty if !system_malloc
      and doug_lea_malloc.
      (aligned_alloc): Test for existence if !GMALLOC_OBJ and not darwin.
      (posix_memalign): Test for existence only if !GMALLOC_OBJ and
      not darwin and !aligned_alloc.
      * src/alloc.c (USE_ALIGNED_ALLOC): New symbol.
      (USE_POSIX_MEMALIGN): Remove.  All uses replaced with USE_ALIGNED_ALLOC,
      and use of posix_memalign replaced with aligned_alloc.
      (aligned_alloc): New function, defined or declared as needed.
      * src/conf_post.h (HAVE_POSIX_MEMALIGN) [DARWIN_OS]:
      Don't undef; configure.ac now does this.
      * src/gmalloc.c (aligned_alloc) [MSDOS]: New decl.
      (calloc, aligned_alloc): Check for integer overflow.
      (aligned_alloc): Rename from memalign.  All uses changed.
      (memalign): New function, an alias for aligned_alloc.
      aea07e2c
  16. 05 Nov, 2013 2 commits
    • Glenn Morris's avatar
      * Makefile.in (epaths-force-w32): Move srcdir tweak here · c923b188
      Glenn Morris authored
      * configure.ac (abs_srcdir) [MINGW32]: No point setting it here,
      config.status computes it.
      c923b188
    • Paul Eggert's avatar
      Simplify and port recent bool vector changes. · df5b4930
      Paul Eggert authored
      * configure.ac (BITSIZEOF_SIZE_T, SIZEOF_SIZE_T):
      New symbols to configure.
      * src/alloc.c (ROUNDUP): Move here from lisp.h, since it's now used
      only in this file.  Use a more-efficient implementation if the
      second argument is a power of 2.
      (ALIGN): Rewrite in terms of ROUNDUP.  Make it a function.
      Remove no-longer-necessary compile-time checks.
      (bool_vector_exact_payload_bytes): New function.
      (bool_vector_payload_bytes): Remove 2nd arg; callers that need
      exact payload changed to call the new function.  Do not assume
      that the arg or result fits in ptrdiff_t.
      (bool_vector_fill): New function.
      (Fmake_bool_vector): Use it.  Don't assume bit counts fit
      in ptrdiff_t.
      (vroundup_ct): Don't assume arg fits in size_t.
      * src/category.c (SET_CATEGORY_SET): Remove.  All callers now just
      invoke set_category_set.
      (set_category_set): 2nd arg is now EMACS_INT and 3rd is now bool.
      All callers changed.  Use bool_vector_set.
      * src/category.h (XCATEGORY_SET): Remove; no longer needed.
      (CATEGORY_MEMBER): Now a function.  Rewrite in terms of
      bool_vector_bitref.
      * src/data.c (Faref): Use bool_vector_ref.
      (Faset): Use bool_vector_set.
      (bits_word_to_host_endian): Don't assume you can shift by CHAR_BIT.
      (Fbool_vector_not, Fbool_vector_count_matches)
      (Fbool_vector_count_matches_at): Don't assume CHAR_BIT == 8.
      * src/fns.c (concat): Use bool_vector_ref.
      (Ffillarray): Use bool_vector_fill.
      (mapcar1): Use bool_vector_ref.
      (sxhash_bool_vector): Hash words, not bytes.
      * src/lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Now a macro as well as
      a constant, since it's now used in #if.
      (bits_word, BITS_WORD_MAX, BITS_PER_BITS_WORD): Fall back on
      unsigned char on unusual architectures, so that we no longer
      assume that the number of bits per bits_word is a power of two or
      is a multiple of 8 or of CHAR_BIT.
      (Qt): Add forward decl.
      (struct Lisp_Bool_Vector): Don't assume EMACS_INT is aligned
      at least as strictly as bits_word.
      (bool_vector_data, bool_vector_uchar_data): New accessors.
      All data structure accesses changed to use them.
      (bool_vector_words, bool_vector_bitref, bool_vector_ref)
      (bool_vector_set): New functions.
      (bool_vector_fill): New decl.
      (ROUNDUP): Move to alloc.c as described above.
      df5b4930
  17. 04 Nov, 2013 1 commit
    • Eli Zaretskii's avatar
      Fix bug #15260 with building and installing Emacs in non-ASCII directories. · d0065ff1
      Eli Zaretskii authored
       src/xdisp.c (message3_nolog, message_with_string): Encode the string
       before writing it to the terminal in a non-interactive session.
       src/lread.c (openp): If both FILENAME and SUFFIX are unibyte, make
       sure we concatenate them into a unibyte string.
       src/fileio.c (make_temp_name): Encode PREFIX, and decode the
       resulting temporary name before returning it to the caller.
       (Fexpand_file_name): If NAME is pure-ASCII and DEFAULT_DIRECTORY
       is a unibyte string, convert NAME to a unibyte string to ensure
       that the result is also a unibyte string.
       src/emacs.c (init_cmdargs): Use build_unibyte_string to make sure we
       create unibyte strings from default paths and directory/file
       names.
       src/coding.h (ENCODE_FILE): Do not attempt to encode a unibyte
       string.
       src/callproc.c (init_callproc): Use build_unibyte_string to make
       sure we create unibyte strings from default paths and
       directory/file names.
       src/buffer.c (init_buffer): Don't store default-directory of
       *scratch* in multibyte form.  The original problem which led to
       that is described in
       http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-11/msg00532.html,
       but it was solved long ago.
      
       lisp/startup.el (normal-top-level): Move setting eol-mnemonic-unix,
       eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
       environment and decoding all of the default-directory's to here
       from command-line.
       (command-line): Decode also argv[0].
       lisp/loadup.el: Error out if default-directory is a multibyte string
       when we are dumping.
       lisp/Makefile.in (emacs): Don't set LC_ALL=C.
      
       leim/Makefile.in (RUN_EMACS): Don't set LC_ALL=C.
      
       configure.ac: Don't disallow builds in non-ASCII directories.
      d0065ff1
  18. 31 Oct, 2013 1 commit
  19. 27 Oct, 2013 1 commit
  20. 25 Oct, 2013 1 commit
  21. 24 Oct, 2013 2 commits
    • Glenn Morris's avatar
      Avoid non-portable "` ... \"...\" ... `" nesting · 357a5081
      Glenn Morris authored
      * configure.ac:
      * Makefile.in (install-arch-indep, install-etcdoc, install-info):
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
      * nt/Makefile.in ($(DESTDIR)${archlibdir}):
      Avoid non-portable "`\" nesting.
      357a5081
    • Glenn Morris's avatar
      Attempt at a fix for mingw CPPFLAGS · eb9a3661
      Glenn Morris authored
      * configure.ac (CPPFLAGS) [mingw32]: Use abs_top_srcdir.
      
      * Makefile.in (abs_top_srcdir):
      * lib-src/Makefile.in (abs_top_srcdir):
      * lwlib/Makefile.in (abs_top_srcdir):
      * nt/Makefile.in (abs_top_srcdir):
      * oldXMenu/Makefile.in (abs_top_srcdir):
      * src/Makefile.in (abs_top_srcdir):
      New, set by configure.
      eb9a3661
  22. 23 Oct, 2013 4 commits
    • Glenn Morris's avatar
      98434155
    • Glenn Morris's avatar
      configure.ac: Tweak previous change · fb6f3c4a
      Glenn Morris authored
      fb6f3c4a
    • Glenn Morris's avatar
      * configure.ac: Explicit error for non-ASCII directories · 7b65c8d0
      Glenn Morris authored
      Fixes: debbugs:15260
      7b65c8d0
    • Glenn Morris's avatar
      Make building in directories with whitespace possible · b8e3b0a9
      Glenn Morris authored
      Make has trouble with targets containing whitespace, 
      http://savannah.gnu.org/bugs/?712, so the general approach is
      to use relative paths where possible.  It's generally only Emacs
      itself that needs absolute paths, eg in src/epaths.h.
      
      * configure.ac (srcdir): Don't make it absolute - abs_srcdir exists.
      
      * Makefile.in (abs_srcdir): New, set by configure.
      (buildlisppath): Use abs_srcdir.
      (install-arch-indep, install-etcdoc, install-info, install-man)
      (install-etc): Quote entities that might contain whitespace.
      
      * admin/unidata/Makefile.in (emacs, ${DSTDIR}/charprop.el):
      Quote entities that might contain whitespace.
      
      * leim/Makefile.in (abs_srcdir): New, set by configure.
      (buildlisppath): Use abs_srcdir.
      (RUN_EMACS, .el.elc, changed.tit, changed.misc, leim-list.el)
      ($(srcdir)/ja-dic/ja-dic.el, setwins, distclean, check-declare):
      Quote entities that might contain whitespace.
      
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
      Quote entities that might contain whitespace.
      
      * lisp/Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
      (emacs, compile, compile-always):
      Quote entities that might contain whitespace.
      (custom-deps, finder-data, autoloads): Use abs_lisp.
      ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
      ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
      ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
      
      * nextstep/Makefile.in (${ns_check_file} ${ns_appdir}):
      Quote entities that might contain whitespace.
      
      * nt/Makefile.in ($(DESTDIR)${archlibdir}):
      Quote entities that might contain whitespace.
      
      * src/Makefile.in (RUN_TEMACS): Make relative (again).
      ($(leimdir)/leim-list.el, .el.elc, $(lispsource)/loaddefs.el)
      (bootstrap-emacs$(EXEEXT)):
      Quote entities that might contain whitespace.
      
      * test/automated/Makefile.in (abs_top_srcdir, top_builddir):
      New, set by configure.
      (top_srcdir): Remove.
      (abs_test, abs_lispsrc): New.
      (lisp): No longer absolute.
      (emacs, lisp-compile, compile, compile-always):
      Quote entities that might contain whitespace.
      
      Fixes: debbugs:15675
      b8e3b0a9
  23. 13 Oct, 2013 1 commit
  24. 11 Oct, 2013 2 commits
  25. 10 Oct, 2013 1 commit
    • Barry Fishman's avatar
      Handle giflib 5 changes (tiny change) · f3606ef7
      Barry Fishman authored
      * configure.ac: Update for giflib 5. 
      
      * src/image.c (GIFLIB_MAJOR): Ensure it's defined.
      (DGifOpen, DGifOpenFileName): Handle giflib 5 syntax.  (Bug#15531)
      f3606ef7
  26. 25 Sep, 2013 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · 959c3d24
      Paul Eggert authored
      This incorporates:
      2013-09-24 manywarnings: enable nicer gcc warning messages
      2013-09-23 warnings: port --enable-gcc-warnings to Solaris Studio 12.3
      2013-09-21 timespec: use the new TIMESPEC_RESOLUTION elsewhere
      * configure.ac (WERROR_CFLAGS): Omit -fdiagnostics-show-option
      and -funit-at-a-time, since manywarnings does that for us now.
      959c3d24
  27. 23 Sep, 2013 2 commits
    • Jan Djärv's avatar
      Suppress some unhelpful warnings when using clang. · 8762e524
      Jan Djärv authored
      * configure.ac: With clang, check for and use -Wno-switch,
      -Wno-tautological-constant-out-of-range-compare and -Wno-pointer-sign.
      
      * conf_post.h(assume): Use __builtin_unreachable for clang.
      
      * src/filelock.c (lock_file_1): Rearrange to remove compiler warning
      about excess arguments to snprintf.
      8762e524
    • Daniel Colascione's avatar
      Tell valgrind about conservative GC regions and suppress spurious · a84683fd
      Daniel Colascione authored
      warings.
      
      * alloc.c (USE_VALGRIND): New macro; on by default
      when ENABLE_CHECKING.
      (mark_maybe_object,mark_maybe_pointer)
      [USE_VALGRIND]: Mark conservatively-scanned regions valid for
      valgrind purposes.
      (valgrind_p) [USE_VALGRIND]: New variable.
      (init_alloc) [USE_VALGRIND]: Initialize valgrind_p.
      a84683fd