Changeset 14e5a08 in rtems


Ignore:
Timestamp:
Oct 12, 2017, 2:32:32 AM (21 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
dfa9a2e7
Parents:
871c23c
Message:

Fix warnings for using C/ObjC specific GCC flags with C++

Closes #3181.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/aclocal/prog-cxx.m4

    r871c23c r14e5a08  
    1515  CXXFLAGS=${CXXFLAGS-${CFLAGS}}
    1616fi
     17
     18CXXFLAGS=`echo ${CXXFLAGS} | sed \
     19  -e s/-Wmissing-prototypes// \
     20  -e s/-Wimplicit-function-declaration// \
     21  -e s/-Wstrict-prototypes// \
     22  -e s/-Wnested-externs//`
    1723
    1824RTEMS_CHECK_TOOL(CXX,g++)
  • testsuites/aclocal/prog-cxx.m4

    r871c23c r14e5a08  
    1515  CXXFLAGS=${CXXFLAGS-${CFLAGS}}
    1616fi
     17
     18CXXFLAGS=`echo ${CXXFLAGS} | sed \
     19  -e s/-Wmissing-prototypes// \
     20  -e s/-Wimplicit-function-declaration// \
     21  -e s/-Wstrict-prototypes// \
     22  -e s/-Wnested-externs//`
    1723
    1824RTEMS_CHECK_TOOL(CXX,g++)
Note: See TracChangeset for help on using the changeset viewer.