witwall / sam2p

Automatically exported from code.google.com/p/sam2p
GNU General Public License v2.0
0 stars 0 forks source link

patches to compile "make test" with gcc-4.1.2 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. run "make test"

What is the expected output? What do you see instead?

test_main.cpp: In function 'void test_data()':
test_main.cpp:86: error: no match for 'operator<<' in 'sout <<
b.SimBuffer::B::format(((const char*)"Hello,%cWorld %d%s"), 32,
-0x00000002a, ((const char*)"!\012"))'

test_main.cpp:93: error: 'memcpy' was not declared in this scope

test_main.cpp: In function 'void test_decoder()':
test_main.cpp:299: error: 'BufD' is not a member of 'Filter'
test_main.cpp:299: error: expected `;' before 'bd'
test_main.cpp:300: error: 'bd' was not declared in this scope

What version of the product are you using? On what operating system?

Fedora 8 / gcc-4.1.2

William Bader
williambader@hotmail.com

Original issue reported on code.google.com by william.bader@gmail.com on 29 Mar 2010 at 11:47

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by pts...@gmail.com on 15 Dec 2011 at 9:54

GoogleCodeExporter commented 9 years ago
Thank you very much for the bug report and the patch. Based on ides in your 
patch I came up with my own fix. It's committed in r123.

Original comment by pts...@gmail.com on 15 Dec 2011 at 10:32