From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12177 invoked by alias); 24 Feb 2010 22:56:15 -0000 Received: (qmail 11968 invoked by uid 48); 24 Feb 2010 22:56:00 -0000 Date: Wed, 24 Feb 2010 22:56:00 -0000 Message-ID: <20100224225600.11967.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/43167] Warnings should not be disabled when instantiating templates defined in system headers In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-02/txt/msg02535.txt.bz2 ------- Comment #10 from pinskia at gcc dot gnu dot org 2010-02-24 22:56 ------- looks like the terminial is wrapping funny. In file included from /home/apinski/local-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../include/c++/4.5.0/numeric:62:0, from t.cc:2: /home/apinski/local-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../include/c++/4.5.0/bits/stl_numeric.h: In function '_Tp std::accumulate(_InputIterator, _InputIterator, _Tp) [with _InputIterator = __gnu_cxx::__normal_iterator >, _Tp = int]': t.cc:6:57: instantiated from here /home/apinski/local-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../include/c++/4.5.0/bits/stl_numeric.h:123:2: warning: conversion to 'int' from 'long int' may alter its value -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43167