Changeset fff6150 in git


Ignore:
Timestamp:
Sep 10, 2012, 3:09:55 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
Children:
a497a11b6125be1576a34c48429ba326cafa35e2
Parents:
8d341e5425f8b7b26cdf77eec4ee78cbbb121c5c
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-09-10 15:09:55+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-09-10 20:41:20+02:00
Message:
added -Winline compiler option: warn when a function marked inline could not be substituted, and give the reason for the failure

NOTE: see also http://gcc.gnu.org/onlinedocs/gcc/Inline.html
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r8d341e rfff6150  
    119119  #endif (${CMAKE_BUILD_TYPE} MATCHES "Release")
    120120
    121   #set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Wno-non-virtual-dtor")
     121  #set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Winline -Wno-non-virtual-dtor")
    122122  set(CMAKE_C_FLAGS "-w -pipe ")
    123123  set(CMAKE_CXX_FLAGS "-w  -pipe ") #--no-rtti
  • Singular/Makefile.am

    r8d341e rfff6150  
    2929libSingulardir = $(libdir)/singular
    3030
    31 libSingular_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}  $(WARNCFLAGS)
    32 libSingular_g_la_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}  $(WARNCFLAGS)
    33 
    34 libSingular_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)  $(WARNCFLAGS)
    35 libSingular_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)   $(WARNCFLAGS)
     31libSingular_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE}  $(WARNCFLAGS)
     32libSingular_g_la_CFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE}  $(WARNCFLAGS)
     33
     34libSingular_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)  $(WARNCFLAGS)
     35libSingular_g_la_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)   $(WARNCFLAGS)
    3636# -fdiagnostics-show-option
    3737
     
    174174gentable1_SOURCES = gentable.cc grammar.h tok.h table.h
    175175gentable1_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
    176 gentable1_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     176gentable1_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    177177gentable1_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
    178178
    179179feOptGen_SOURCES = feOptGen.cc feOptGen.h
    180 feOptGen_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     180feOptGen_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    181181feOptGen_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
    182182
    183183feOptES_SOURCES = feOptGen.cc feOptGen.h
    184 feOptES_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     184feOptES_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    185185feOptES_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR
    186186
    187187feOptTS_SOURCES = feOptGen.cc feOptGen.h
    188 feOptTS_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     188feOptTS_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    189189feOptTS_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR
    190190
     
    212212Singularg_CFLAGS = -g ${PIPE}
    213213
    214 Singular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    215 Singularg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     214Singular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     215Singularg_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    216216
    217217nodist_Singular_SOURCES = libSingular.la
     
    234234Singulardg_CFLAGS = -g ${PIPE}
    235235
    236 Singulard_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    237 Singulardg_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     236Singulard_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     237Singulardg_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    238238
    239239Singulard_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h
     
    256256
    257257ESingular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
    258 ESingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     258ESingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    259259ESingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DESINGULAR -DPROTO
    260260ESingular_LDFLAGS = -static ${AMLDFLAGS}
     
    266266
    267267TSingular_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
    268 TSingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     268TSingular_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    269269TSingular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DTSINGULAR -DPROTO
    270270TSingular_LDFLAGS = -static ${AMLDFLAGS}
     
    278278libparse_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG -DSTANDALONE_PARSER
    279279libparse_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
    280 libparse_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     280libparse_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    281281 
    282282libparse_SOURCES = libparse.cc fegetopt.c fegetopt.h utils.cc  utils.h
     
    325325test_s_g_CFLAGS = ${PIPE}
    326326
    327 test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    328 test_s_g_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     327test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     328test_s_g_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    329329
    330330test_s_r_SOURCES = test.cc
     
    346346test_d_g_CFLAGS = ${PIPE}
    347347
    348 test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    349 test_d_g_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     348test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     349test_d_g_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    350350
    351351test_d_r_SOURCES = test.cc
  • dyn_modules/bigintm/Makefile.am

    r8d341e rfff6150  
    1515## --no-exceptions
    1616
    17 DEBUGCXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
     17DEBUGCXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
    1818
    1919NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer ${PIPE}
  • dyn_modules/bigintm/SConstruct

    r8d341e rfff6150  
    3737        SHLIBSUFFIX = ".sog",
    3838        CPPPATH = SING_INCLUDES,
    39         CXXFLAGS = "-g -Wextra -Wall -pedantic -Wno-long-long " + CXXTEMPLFLAGS,
     39        CXXFLAGS = "-g -Wextra -Winline -Wall -pedantic -Wno-long-long " + CXXTEMPLFLAGS,
    4040        LDMODULEFLAGS = BUNDLETEMPFLAGS,
    4141        LIBS=[])
  • dyn_modules/syzextra/Makefile.am

    r8d341e rfff6150  
    1515## --no-exceptions
    1616
    17 DEBUGCXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
     17DEBUGCXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
    1818
    1919NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer ${PIPE}
  • dyn_modules/syzextra/SConstruct

    r8d341e rfff6150  
    3737        SHLIBSUFFIX = ".sog",
    3838        CPPPATH = SING_INCLUDES,
    39         CXXFLAGS = "-g -Wextra -Wall -pedantic -Wno-long-long " + CXXTEMPLFLAGS,
     39        CXXFLAGS = "-g -Wextra -Winline -Wall -pedantic -Wno-long-long " + CXXTEMPLFLAGS,
    4040        LDMODULEFLAGS = BUNDLETEMPFLAGS,
    4141        LIBS=[])
  • factory/CMakeLists.txt

    r8d341e rfff6150  
    7474  if (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
    7575
    76     #set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Wno-non-virtual-dtor")
     76    #set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Winline -Wno-non-virtual-dtor")
    7777    set(CMAKE_CXX_FLAGS "-w --no-rtti -pipe ")
    7878    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-implicit-templates")
  • factory/Makefile.am

    r8d341e rfff6150  
    2020libfactory_la_LIBADD     = ${abs_builddir}/libfac/libfac.la $(FLINT_LIBS) ${GMP_LIBS} ${NTL_LIBS}
    2121libfactory_la_LDFLAGS    = -release ${PACKAGE_VERSION}
    22 libfactory_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
     22libfactory_g_la_CXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
    2323libfactory_g_la_LIBADD   = ${abs_builddir}/libfac/libfac_g.la $(FLINT_LIBS) ${GMP_LIBS} ${NTL_LIBS}
    2424libfactory_g_la_LDFLAGS  = -release ${PACKAGE_VERSION}
     
    312312
    313313test_s_g_SOURCES = $(TESTSSOURCES)
    314 test_s_g_CFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long -fomit-frame-pointer
     314test_s_g_CFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long -fomit-frame-pointer
    315315#ftmpl_inst.o
    316316test_s_g_LDADD = -lfactory_g $(FLINT_LIBS) $(GMP_LIBS) $(NTL_LIBS) $(TESTADDLIBDEBUG)
     
    325325
    326326test_d_g_SOURCES = $(TESTSSOURCES)
    327 test_d_g_CFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long -fomit-frame-pointer
     327test_d_g_CFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long -fomit-frame-pointer
    328328#ftmpl_inst.o
    329329test_d_g_LDADD = -lfactory_g $(FLINT_LIBS) $(GMP_LIBS) $(NTL_LIBS) $(TESTADDLIBDEBUG)
  • factory/libfac/CMakeLists.txt

    r8d341e rfff6150  
    3535  if (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
    3636
    37     #set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Wno-non-virtual-dtor")
     37    #set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Winline -Wno-non-virtual-dtor")
    3838    set(CMAKE_CXX_FLAGS "-w --no-rtti -pipe ")
    3939    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-implicit-templates")
  • factory/libfac/Makefile.am

    r8d341e rfff6150  
    1313
    1414libfac_la_CXXFLAGS   = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
    15 libfac_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     15libfac_g_la_CXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    1616# -fdiagnostics-show-option
    1717
  • findexec/Makefile.am

    r8d341e rfff6150  
    1818libfindexec_la_CXXFLAGS   = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
    1919## --no-rtti
    20 libfindexec_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     20libfindexec_g_la_CXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    2121# -fdiagnostics-show-option
    2222
  • kernel/Makefile.am

    r8d341e rfff6150  
    2121libkerneldir = $(libdir)/singular
    2222
    23 libkernel_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE}
    24 libkernel_g_la_CFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE}
     23libkernel_la_CFLAGS   = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE}
     24libkernel_g_la_CFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE}
    2525## -pedantic
    2626
    27 libkernel_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    28 libkernel_g_la_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     27libkernel_la_CXXFLAGS   = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     28libkernel_g_la_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    2929# -fdiagnostics-show-option
    3030
     
    103103test_s_g_CFLAGS = ${PIPE}
    104104
    105 test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    106 test_s_g_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     105test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     106test_s_g_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    107107
    108108testsources = test.cc
     
    123123test_d_g_CFLAGS = ${PIPE}
    124124
    125 test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
    126 test_d_g_CXXFLAGS = -g -Wextra -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
     125test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer -Wextra -Winline -Wall -Wno-long-long ${PIPE} $(CXXTEMPLFLAGS)
     126test_d_g_CXXFLAGS = -g -Wextra -Winline -Wall -Wno-long-long -pedantic ${PIPE} $(CXXTEMPLFLAGS)
    127127
    128128test_d_r_SOURCES = $(testsources)
  • libpolys/coeffs/Makefile.am

    r8d341e rfff6150  
    1717
    1818libcoeffs_la_CXXFLAGS   = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
    19 libcoeffs_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     19libcoeffs_g_la_CXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    2020# -fdiagnostics-show-option
    2121
     
    8787test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
    8888# -fimplicit-templates
    89 test_s_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     89test_s_g_CXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    9090# -fimplicit-templates
    9191# -fdiagnostics-show-option
    9292test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
    93 test_d_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     93test_d_g_CXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    9494
    9595
  • libpolys/misc/Makefile.am

    r8d341e rfff6150  
    1717
    1818libmisc_la_CXXFLAGS   = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
    19 libmisc_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     19libmisc_g_la_CXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    2020# -fdiagnostics-show-option
    2121
  • libpolys/polys/Makefile.am

    r8d341e rfff6150  
    11CXXTEMPLFLAGS   =  ## -fno-implicit-templates
    22
    3 DEBUGCXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long
     3DEBUGCXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long
    44
    55NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer
  • libpolys/reporter/Makefile.am

    r8d341e rfff6150  
    1717
    1818libreporter_la_CXXFLAGS   = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
    19 libreporter_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     19libreporter_g_la_CXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    2020# -fdiagnostics-show-option
    2121
  • libpolys/tests/Makefile.am

    r8d341e rfff6150  
    7070
    7171###  -pedantic
    72 DEBUGCFLAGS = $(AM_CFLAGS) -g -Wextra -Wall -Wno-long-long ${PIPE}
     72DEBUGCFLAGS = $(AM_CFLAGS) -g -Wextra -Winline -Wall -Wno-long-long ${PIPE}
    7373DEBUGCXXFLAGS = $(AM_CXXFLAGS) ${DEBUGCFLAGS} ${CXXTEMPLFLAGS}
    7474DEBUGCPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
  • ntl/CMakeLists.txt

    r8d341e rfff6150  
    3939set(CMAKE_C_FLAGS "-O2 -fomit-frame-pointer")
    4040set(CMAKE_CXX_FLAGS "-O2 -fomit-frame-pointer -fno-rtti")
    41 set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Wno-non-virtual-dtor -Wno-unknown-pragma")
     41set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Winline -Wno-non-virtual-dtor -Wno-unknown-pragma")
    4242
    4343link_libraries(m)
  • numeric/Makefile.am

    r8d341e rfff6150  
    1414
    1515libnumeric_la_CXXFLAGS   = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
    16 libnumeric_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
     16libnumeric_g_la_CXXFLAGS = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
    1717# -fdiagnostics-show-option
    1818
  • omalloc/CMakeLists.txt

    r8d341e rfff6150  
    6666set(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wreturn-type -fno-omit-frame-pointer")
    6767set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fno-inline-functions")
    68 set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -W -Wall -Wextra")
     68set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -W -Wall -Wextra -Winline")
    6969set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -Wreturn-type -fno-omit-frame-pointer")
    7070set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fno-inline-functions")
    71 set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -W -Wall -Wextra")
     71set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -W -Wall -Wextra -Winline")
    7272
    7373set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_DEBUG} -Werror -pedantic")
  • omalloc/Makefile.am

    r8d341e rfff6150  
    9090omtTest_s_g_SOURCES = $(OMTTESTSSOURCES)
    9191omtTest_s_g_CPPFLAGS= ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    92 omtTest_s_g_CFLAGS  = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE}
     92omtTest_s_g_CFLAGS  = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE}
    9393omtTest_s_g_LDADD   = libomalloc_g.la
    9494omtTest_s_g_LDFLAGS = -L${abs_top_builddir}/omalloc -L${abs_top_builddir}/../omalloc -static
     
    109109omtTest_d_g_SOURCES = $(OMTTESTSSOURCES)
    110110omtTest_d_g_CPPFLAGS= ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    111 omtTest_d_g_CFLAGS  = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE}
     111omtTest_d_g_CFLAGS  = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE}
    112112omtTest_d_g_LDADD   = libomalloc_g.la
    113113omtTest_d_g_LDFLAGS = -L${abs_top_builddir}/omalloc -L${abs_top_builddir}/../omalloc
  • standalone.test/mk

    r8d341e rfff6150  
    1414# /mnt/DATA/GITHUB/w/GAP/libsing/spielwiese/TARGET/bin"
    1515
    16 LIBPOLYSCFLAGS="`sh $P/libsingular-config --cflagsg` -g -Wextra -Wall -Wno-long-long  -O0 --no-exceptions"
     16LIBPOLYSCFLAGS="`sh $P/libsingular-config --cflagsg` -g -Wextra -Winline -Wall -Wno-long-long  -O0 --no-exceptions"
    1717LIBPOLYSLIBS=`sh $P/libsingular-config --libsg`
    1818LIBPOLYSPREFIX="`sh $P/libsingular-config --prefix`"
     
    2525echo "executing '$CMD':"
    2626$CMD
    27 
    28 CMD="g++ -g -Wextra -Wall -Wno-long-long -O0 --no-exceptions -rdynamic $NAME.o -o $NAME $LIBPOLYSLIBS"
     27# -rdynamic
     28CMD="g++ -static -g -Wextra -Winline -Wall -Wno-long-long -O0 --no-exceptions $NAME.o -o $NAME $LIBPOLYSLIBS"
    2929echo "executing '$CMD':"
    3030$CMD
  • xalloc/Makefile.am

    r8d341e rfff6150  
    2222
    2323libomalloc_la_CFLAGS            = -O3 ${PIPE}
    24 libomalloc_g_la_CFLAGS  = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE}
     24libomalloc_g_la_CFLAGS  = -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE}
    2525
    2626libomalloc_la_CXXFLAGS  = -O3 ${PIPE}
    27 libomalloc_g_la_CXXFLAGS= -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE}
     27libomalloc_g_la_CXXFLAGS= -g -Wextra -Winline -Wall -pedantic -Wno-long-long ${PIPE}
    2828
    2929libomalloc_la_CPPFLAGS  = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
Note: See TracChangeset for help on using the changeset viewer.