www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 76] New: dyn. array length++ fails

http://bugzilla.gdcproject.org/show_bug.cgi?id=76


           Summary: dyn. array length++ fails
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: fhal directbox.com


struct Entry {...}
Entry[] table;

int main(string[] args)
{
    ...
    table.length++;
    ...
}

additional info: table ~= Entry(...); does work.

System/versions: i386(32bit), Linux, gdc v4.6.3, dmd v2.063.2, (gcc is  v4.7.2)

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Sep 02 2013