|
From: Cary R. <cy...@ya...> - 2015-05-13 23:31:03
|
Hi Larry,
I test on various systems and only the RHEL 5 system has this warning. It could be a bogus warning (e.g. the copy constructor is never actually called), but it would be nice if it was not there so we have a clean compile on the common systems.
Cary
On Wednesday, May 13, 2015 4:18 PM, Larry Doolittle <ldo...@re...> wrote:
Cary -
The oldest gcc I have readily available is 4.4.5, on Debian oldoldstable
(Squeeze LTS). It does not give the referenced warning.
- Larry
On Wed, May 13, 2015 at 10:16:32PM +0000, Cary R. wrote:
> This is on Red Hat Enterprise 5 64-bit which has gcc-4.1.2. I am using the normal warning flags. Centos 5, etc. should give same environment.
>
> On Wednesday, May 13, 2015 12:11 PM, Maciej Sumiński <mac...@ce...> wrote:
> Thank you for the information. Which compiler do you use or what flags
> cause the warning to appear? I have tried gcc 4.9.2/5.1.0 & clang 3.6.0
> (all 64 bits) and none of them have displayed the message.
>
>
> On 05/13/2015 08:59 PM, Cary R. wrote:
> > One thing I see when compiling under RHEL5 64-bit is I get the following warning:
> > expression.cc: In copy constructor ‘ExpConditional::else_t::else_t(const ExpConditional::else_t&)’:
> > expression.cc:313: warning: base class ‘class LineInfo’ should be explicitly initialized in the copy constructor
|