Re: Compilation problem when upgrading from g++ 3.3 to g++ 3.4

From: Ron Natalie (ron_at_sensor.com)
Date: 11/16/04


Date: Tue, 16 Nov 2004 06:45:39 -0500

John Harrison wrote:

> Arrays cannot be members of STL containers because they are not copyable or
> assignable. No idea why g++ 3.3 allowed it in the first place.
>
>
G++ has an extension to give copy semantics to arrays. The later versions
of G++ (I assumed that this happened before 3.3 though) turn the extensions
off by default.



Relevant Pages

  • Re: Latest on Windoze Navy software
    ... > If you use a non-portable extension then the behavior of a program ... > that uses that extension is an implementation issue, not a language ... specific implementations which did not impact the language reference, ... > One should distinguish between the semantics of parameter passing ...
    (comp.os.vms)
  • Re: array manipulation without for loops
    ... I am really trying to cut the time down as I have 600+ arrays with ... In pure Python (w/o extension packages) there are no 2-D arrays; ... either you're using lists of lists (and I wonder how you fit even one of ...
    (comp.lang.python)
  • Re: array manipulation without for loops
    ... I am using Numeric and have created 3 arrays: ... dimensions to compare and I do a lot more things with the ... In pure Python (w/o extension packages) there are no 2-D arrays; ...
    (comp.lang.python)
  • Re: Reference items of an array with a variable index
    ... In a POSIX shell, such as bash, you can split off the extension ... However, if there is no dot in the filename, $extension will ... Bash arrays are indexed by number, ... > for jpg we have graphic.jpg ...
    (comp.unix.shell)
  • Re: The Difference between a Set and an Element
    ... That's a matter of some dispute, but in any case you need to specify a ... semantics for a second-order language before the discussion can even go ... concepts than the one envisioned in which every set is the extension of ...
    (sci.logic)