[committed/vms]: Turns warnings into informational messages

Tristan Gingold gingold@adacore.com
Tue Jan 12 10:15:00 GMT 2010


Hi,

this tiny patch modify two makefile.vms so that warnings severity is lowered to informational.
This avoids linker messages, because the linker reminds you that some object files were compiled with
warnings.

Applied.
Tristan.

bfd/
2010-01-12  Tristan Gingold  <gingold@adacore.com>

	* makefile.vms (CFLAGS): Turns warnings into informational messages.

binutils/
2010-01-12  Tristan Gingold  <gingold@adacore.com>

	* makefile.vms (CFLAGS): Turns warnings into informational messages.

RCS file: /cvs/src/src/bfd/makefile.vms,v
retrieving revision 1.5
diff -c -r1.5 makefile.vms
*** bfd/makefile.vms	1 Sep 2009 13:10:45 -0000	1.5
--- bfd/makefile.vms	12 Jan 2010 10:12:31 -0000
***************
*** 35,41 ****
  else
  OPT=/noopt/debug
  CFLAGS=/name=(as_is,shortened)/include=([],"../include")\
!  /define=("unlink=remove",DEBUGDIR="""GNU$$DEBUGDIR:""",$(DEFS))$(OPT)
  endif
  
  libbfd.olb: $(OBJS)
--- 35,42 ----
  else
  OPT=/noopt/debug
  CFLAGS=/name=(as_is,shortened)/include=([],"../include")\
!  /define=("unlink=remove",DEBUGDIR="""GNU$$DEBUGDIR:""",$(DEFS))\
!  /warns=(infor=missingreturn)$(OPT)
  endif
  
  libbfd.olb: $(OBJS)
Index: binutils/makefile.vms
===================================================================
RCS file: /cvs/src/src/binutils/makefile.vms,v
retrieving revision 1.1
diff -c -r1.1 makefile.vms
*** binutils/makefile.vms	2 Sep 2009 14:14:49 -0000	1.1
--- binutils/makefile.vms	12 Jan 2010 10:12:31 -0000
***************
*** 16,22 ****
  OPT=/noopt/debug
  CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
   /name=(as_is,shortened)\
!  /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))
  endif
  
  LIBBFD = [-.bfd]libbfd.olb/lib
--- 16,23 ----
  OPT=/noopt/debug
  CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
   /name=(as_is,shortened)\
!  /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))\
!  /warns=(info=(ptrmismatch,shiftcount))
  endif
  
  LIBBFD = [-.bfd]libbfd.olb/lib



More information about the Binutils mailing list