[Bug 354305] Re: g++-4.3 regression, rejects valid code

2013-03-23 Thread Bug Watch Updater
** Changed in: gcc
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/354305

Title:
  g++-4.3 regression, rejects valid code

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/354305/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-05-10 Thread Mateusz Łoskot
Could anyone confirm if this bug fix has been released for Ubuntu 9.04
as well?

I'm still suffering from this bug while building Spirit 2 tests from
Boost SVN trunk:

mlos...@dog:~$ gcc --version
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3

gcc.compile.c++ 
../../../bin.v2/libs/spirit/test/range_run.test/gcc-4.3.3/debug/qi/range_run.o
In file included from ../../../boost/dynamic_bitset.hpp:15,
 from qi/range_run.cpp:12:
../../../boost/dynamic_bitset/dynamic_bitset.hpp: In member function ‘size_t 
boost::dynamic_bitset::count() const’:
../../../boost/dynamic_bitset/dynamic_bitset.hpp:1015: error: ‘mode’ cannot 
appear in a constant-expression
../../../boost/dynamic_bitset/dynamic_bitset.hpp:1015: error: template argument 
1 is invalid
../../../boost/dynamic_bitset/dynamic_bitset.hpp:1015: error: expected `>' 
before ‘*’ token
../../../boost/dynamic_bitset/dynamic_bitset.hpp:1015: error: expected `(' 
before ‘*’ token
../../../boost/dynamic_bitset/dynamic_bitset.hpp:1015: error: expected 
primary-expression before ‘>’ token

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-04-19 Thread Christopher Currie
Flipping back to New since I answered the question.

** Changed in: gcc-4.3 (Ubuntu)
   Status: Incomplete => New

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-04-22 Thread Martin Stephens
I noticed some peculiar behavior recompiling old code that I had turned in for 
a class.   If you note the screen shots in the attached folders Take_Home_1 and 
Take_Home_2, both programs compiled just fine with g++ 4.2 in Hardy, 32 bit. 
(Both are first level subdirectories of Midterm_mStephens)

Using Jaunty 64 bit Beta, g++ 4.3 from here on out.

When I try to compile TakeHome_1.cpp in it's own folder, I get the
following error:

TakeHome_1.cpp: In function ‘int main()’:
TakeHome_1.cpp:24: error: ‘system’ was not declared in this scope
line 24 reads:  
system("reset");

Now, TakeHome_2.cpp compiled in its own folder just fine, and it has the same 
line, in about the same place.
It ran just like my screen shot shows.

So I moved the two files side-by-side into the TakeHome_2 folder, to see what 
the difference was.
The only difference is that TakeHome_2.cpp has the line:
#include

So, just to see what would happen, I included  in TakeHome_1.cpp and 
compiled.
TakeHome_1.cpp compiled just fine into a binary and ran like a top.
I have no idea why #include should have this affect.

The binary, TakeHome_1, was never in the directory, TakeHome_2, previous
to making this bug report.

I attached my homework with screen shots to show that it all did indeed
compile in g++ 4.2, using Hardy.

The information in this bug was obtained by dropping a copy of my
Midterm_mStephens folder into my home directory.

You should be able to reproduce this by repeating this, and compiling
the relevant pieces of code.

The results of the last year's test are used as a study guide for the next 
year's version.  My instructor can be reached at:
fred.rich...@cvcc.edu   There should be no problem with posting this, except 
that it might not be the most elegant code posted on this site. 

I did not check any code of mine to see how it compiled.  You are
welcome to compile it for testing purposes.   All should have screen
shots of the program running properly in g++ 4.2, Hardy Heron, 32 bit.

** Attachment added: "Midterm_mStephens.tar.gz"
   http://launchpadlibrarian.net/25863845/Midterm_mStephens.tar.gz

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-06-20 Thread Matthias Klose
fixed in 4.3 and 4.4 in karmic

** Changed in: gcc-4.3 (Ubuntu)
   Status: New => Fix Released

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-05-24 Thread bwins46
It appears the boost folks have addressed this issue as well.  Boost
Changeset 53050 notes;

Use enum constants rather than local variables for integral constants.
Should fix dynamic_bitset failures on GCC 4.3.x

https://svn.boost.org/trac/boost/changeset/53050

I have applied this patch and can verify this issue is fixed with the
Intel C++ compiler on Mac OS X as well as gcc 4.3 on Ubuntu.

** Attachment added: "test case, before and after results"
   http://launchpadlibrarian.net/27116588/Bugtest.txt

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-04-23 Thread Vasco Alexandre da Silva Costa
I got the same error as Christopher Currie with boost. Please see this message 
in the gcc bugzilla. It IS a bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39608


** Bug watch added: GCC Bugzilla #39608
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39608

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-04-23 Thread Vasco Alexandre da Silva Costa
** Also affects: gcc via
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39608
   Importance: Unknown
   Status: Unknown

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-04-24 Thread Bug Watch Updater
** Changed in: gcc
   Status: Unknown => Fix Released

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-04-02 Thread Christopher Currie

** Attachment added: "gcc43regression.cpp"
   http://launchpadlibrarian.net/24736934/gcc43regression.cpp

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/24736935/Dependencies.txt

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-04-14 Thread Matthias Klose
please could you recheck with gcc-snapshot or newer boost versions?


** Changed in: gcc-4.3 (Ubuntu)
   Status: New => Incomplete

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-04-14 Thread Christopher Currie
Well, I was using the SVN version of boost, so I can't really testing a
newer version other than to update SVN, which I've done, and it still
fails.

More importantly, I tested the gcc43regression.cpp file (attached above)
which is a smaller test case than just testing boost, and it also fails
using gcc-snapshot:

ccur...@magellan:~/src/tmp$ /usr/lib/gcc-snapshot/bin/g++ -S 
gcc43regression.cpp 
gcc43regression.cpp: In member function 'size_t boost::dynamic_bitset::count() const':
gcc43regression.cpp:37: error: 'mode' cannot appear in a constant-expression
gcc43regression.cpp:37: error: template argument 1 is invalid
gcc43regression.cpp:37: error: expected '>' before '*' token
gcc43regression.cpp:37: error: expected '(' before '*' token
gcc43regression.cpp:37: error: expected primary-expression before '>' token
gcc43regression.cpp:37: error: expected ')' before ';' token

Please let me know if there's any other information I needed to provide
in the original bug report; I'm not sure why the status is set to
"incomplete".

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354305] Re: g++-4.3 regression, rejects valid code

2009-08-10 Thread serengeti
It seems the Jaunty package hasn't been updated yet - g++-4.3 is at
version 4.3.3-5ubuntu4 and I'm still getting this error.

-- 
g++-4.3 regression, rejects valid code
https://bugs.launchpad.net/bugs/354305
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs