15821 – [3.4 Regression] Duplicate namespace alias within namespace rejected (original) (raw)
| Description Stephan Bergmann 2004-06-04 15:00:43 UTC The code namespace a {} namespace b { namespace c = a; namespace c = a; } fails for 3.4.0 ("declaration of 'namespace c = a;' conflicts with previous declaration 'namespace c = a;'"), but works for 3.3.3. The simpler code namespace a {} namespace c = a; namespace c = a; works for both 3.4.0 and 3.3.3. Comment 1 Drea Pinski 2004-06-04 15:09:12 UTC Confirmed, this is a regression, I do not know if this works in 3.4.1 but it does work in 3.5.0. Comment 2 Wolfgang Bangerth 2004-06-04 15:44:02 UTC Mark fixed this for 3.4.1 and mainline a few days ago. W. | | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |