Changeset dd156fc in git


Ignore:
Timestamp:
Feb 22, 2012, 8:24:28 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b21a664aa22dc6e196223af8a74ad4885e83547c')
Children:
02fe5fbd39da06e8eb01f3f24ef8e94a6334fcce
Parents:
260672366116e9f5c3b19013786b1955f55cd47a
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-22 20:24:28+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-23 20:35:09+01:00
Message:
switched compiler some warnings (unused parameter) by using compiler flag: -Wunused-parameter

TODO: propagate to all other sources?!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/Makefile.am

    r260672 rdd156fc  
    77#STATIC_LDFLAGS = -static
    88
    9 
    10 NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer
    11 NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer
     9WARNCFLAGS = -Wunused-parameter
     10# clang has also: -Wunneeded-internal-declaration
     11
     12NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer $(WARNCFLAGS)
     13NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer $(WARNCFLAGS)
    1214NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG
    1315
     
    2123libSingulardir = $(libdir)/singular
    2224
    23 libSingular_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}
    24 libSingular_g_la_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}
    25 
    26 libSingular_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    27 libSingular_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     25libSingular_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}  $(WARNCFLAGS)
     26libSingular_g_la_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}  $(WARNCFLAGS)
     27
     28libSingular_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)  $(WARNCFLAGS)
     29libSingular_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)   $(WARNCFLAGS)
    2830# -fdiagnostics-show-option
    2931
Note: See TracChangeset for help on using the changeset viewer.