Opened 15 years ago

Closed 15 years ago

#3996 closed bug (fixed)

New ATI Mach64 compile error

Reported by: jahaiku Owned by: axeld
Priority: normal Milestone: R1
Component: Drivers/Graphics Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I try to compile the new ATI mach64 driver with gcc4 linux crosscompiler and I get the following error:

C++ generated/objects/haiku/x86/release/add-ons/accelerants/ati/mode.o

src/add-ons/accelerants/ati/mode.cpp: In function 'status_t GetModeList(display_mode*)':

src/add-ons/accelerants/ati/mode.cpp:351: error: 'memcpy' was not declared in this scope

src/add-ons/accelerants/ati/mode.cpp: In function 'status_t GetEdidInfo(void*, size_t, uint32*)':

src/add-ons/accelerants/ati/mode.cpp:447: error: 'memcpy' was not declared in this scope

Change History (2)

in reply to:  description comment:1 by jahaiku, 15 years ago

Replying to jahaiku:

I try to compile the new ATI mach64 driver with gcc4 linux crosscompiler and I get the following error:

C++ generated/objects/haiku/x86/release/add-ons/accelerants/ati/mode.o

src/add-ons/accelerants/ati/mode.cpp: In function 'status_t GetModeList(display_mode*)':

src/add-ons/accelerants/ati/mode.cpp:351: error: 'memcpy' was not declared in this scope

src/add-ons/accelerants/ati/mode.cpp: In function 'status_t GetEdidInfo(void*, size_t, uint32*)':

src/add-ons/accelerants/ati/mode.cpp:447: error: 'memcpy' was not declared in this scope

If I include "string.h" at the beginning of mode.cpp compilation works, but is this the correct way?

comment:2 by anevilyak, 15 years ago

Resolution: fixed
Status: newclosed

Correct indeed. Fixed in hrev30973.

Note: See TracTickets for help on using tickets.