[LLVMbugs] [Bug 17911] New: Excessive output using clang-cl

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 13 11:05:55 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=17911

            Bug ID: 17911
           Summary: Excessive output using clang-cl
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: eldlistmailingz at tropicsoft.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Compiling with clang-cl there is excessive output being produced every time a
macro is encountered. There must be a way developed to turn off all this
output, which is neither a warning or an error. Nobody is going to want to look
through all this output by default. Please either turn this output off by
default ( preferred ) or create a compiler switch to do so.

The output looks like:

--------------------------------------------------------------------------------

..\..\..\boost/mpl/aux_/test/assert.hpp(20,40) :  note: expanded from macro
'MPL_ASSERT'
#define MPL_ASSERT(pred)                BOOST_MPL_ASSERT(pred)
                                        ^
..\..\..\boost/mpl/assert.hpp(285,6) :  note: expanded from macro
'BOOST_MPL_ASSERT'
    , BOOST_PP_CAT(mpl_assertion_in_line_,BOOST_MPL_AUX_PP_COUNTER()) = sizeof(
\
      ^
..\..\..\boost/preprocessor/cat.hpp(22,31) :  note: expanded from macro
'BOOST_PP_CAT'
#    define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                               ^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see
all)
<scratch space>(82,0) :  note: expanded from here
mpl_assertion_in_line_21
^
..\..\..\boost/mpl/assert.hpp(60,75) :  note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
#   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) BOOST_STATIC_CONSTANT(T,
expr)
                                                                           ^
..\..\..\boost/config/suffix.hpp(361,71) :  note: expanded from macro
'BOOST_STATIC_CONSTANT'
#     define BOOST_STATIC_CONSTANT(type, assignment) static const type
assignment
                                                                       ^
aux_\largest_int.cpp(22,4) :  warning: unused variable
'mpl_assertion_in_line_22' [-Wunused-variable]
    MPL_ASSERT(( is_same< mpl::aux::largest_int<char,bool>::type, char > ));
    ^
..\..\..\boost/mpl/aux_/test/assert.hpp(20,40) :  note: expanded from macro
'MPL_ASSERT'
#define MPL_ASSERT(pred)                BOOST_MPL_ASSERT(pred)
                                        ^
..\..\..\boost/mpl/assert.hpp(285,6) :  note: expanded from macro
'BOOST_MPL_ASSERT'
    , BOOST_PP_CAT(mpl_assertion_in_line_,BOOST_MPL_AUX_PP_COUNTER()) = sizeof(
\
      ^
..\..\..\boost/preprocessor/cat.hpp(22,31) :  note: expanded from macro
'BOOST_PP_CAT'
#    define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
                               ^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see
all)
<scratch space>(84,0) :  note: expanded from here
mpl_assertion_in_line_22
^
..\..\..\boost/mpl/assert.hpp(60,75) :  note: expanded from macro '\
BOOST_MPL_AUX_ASSERT_CONSTANT'
#   define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) BOOST_STATIC_CONSTANT(T,
expr)
                                                                           ^
..\..\..\boost/config/suffix.hpp(361,71) :  note: expanded from macro
'BOOST_STATIC_CONSTANT'
#     define BOOST_STATIC_CONSTANT(type, assignment) static const type
assignment

--------------------------------------------------------------------------------

and on and on. This sort of stuff is normally unnecessary.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131113/58e19f38/attachment.html>


More information about the llvm-bugs mailing list