I am using gcc 4.5.1 on fedora 14-i686

**************************************************************************


What compiler are you using? It might be too old, in which case I'd
suggest upgrading if possible, or it might be too new in which case we
should try to make the code build correctly.

Gabe

Quoting "Sudhanshu(Duke)" <[email protected]>:


    Hi
    I was compiling m5sim and got following errors

    $ scons build/ALPHA_SE/m5.debug
    .
    .
    .
     [     CXX] ALPHA_SE/cpu/inorder/resource_pool.cc
    cc1plus: warnings being treated as errors
    build/ALPHA_SE/cpu/inorder/resource_pool.cc: In member function 'void
    ResourcePool::scheduleEvent(InOrderCPU::CPUEventType,
    ResourcePool::DynInstPtr, int, int, ThreadID)':
    build/ALPHA_SE/cpu/inorder/resource_pool.cc:326:7: error: case value
    '10' not in enumerated type 'InOrderCPU::CPUEventType'
    build/ALPHA_SE/cpu/inorder/resource_pool.cc:358:7: error: case value
    '11' not in enumerated type 'InOrderCPU::CPUEventType'
    build/ALPHA_SE/cpu/inorder/resource_pool.cc: In member function
    'virtual void ResourcePool::ResPoolEvent::process()':
    build/ALPHA_SE/cpu/inorder/resource_pool.cc:525:7: error: case value
    '10' not in enumerated type 'InOrderCPU::CPUEventType'
    build/ALPHA_SE/cpu/inorder/resource_pool.cc:533:7: error: case value
    '11' not in enumerated type 'InOrderCPU::CPUEventType'
    scons: *** [build/ALPHA_SE/cpu/inorder/resource_pool.do] Error 1
    scons: building terminated because of errors.

    please suggest a way to toggle Werror.... I don-t know from where to
    toggle it.... I recently downloaded a copy of m5 using mercurial(m5
    and not m5-stable). Please advise what to do...

    --
    Sudhanshu([email protected], [email protected] &
    [email protected])
    _______________________________________________
    m5-users mailing list
    [email protected]
    http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


-- 
Sudhanshu([email protected], [email protected] &
[email protected])
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to