GCC 4.3 cleans up the include dependencies of the C++ stdlib headers. The
result is some packages have missing includes. This patch fixes one such
error
in flac-1.2.1.
make[5]: Entering directory
`/var/tmp/portage/media-libs/flac-1.2.1-r1/work/flac-1.2.1/examples/cpp/enc
ode/file'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../..
-DFLaC__INLINE=__inline__ -DNDEBUG -I../../../.. -I./include
-I../../../../include -O2 -g -march=native -fomit-frame-pointer -pipe -c
-o
main.o main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:75: error: 'memcmp' was not declared in this scope
make[5]: *** [main.o] Error 1
Josh Coalson
None
None
Public
| Filename | Description | Download |
|---|---|---|
| flac-1.2.1-gcc-4.3-includes.patch | flac-1.2.1-gcc-4.3-includes.patch | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | - | 2007-11-27 16:06 | jcoalson |
| resolution_id | Accepted | 2007-11-27 16:06 | jcoalson |
| status_id | Open | 2007-11-27 16:06 | jcoalson |
| assigned_to | nobody | 2007-11-26 17:58 | jcoalson |
| resolution_id | None | 2007-11-26 17:58 | jcoalson |
| priority | 5 | 2007-11-26 17:58 | jcoalson |
| summary | fix missing include in media-sound/flac-1.2.1 | 2007-11-18 19:13 | dirtyepic |
| File Added | 254850: flac-1.2.1-gcc-4.3-includes.patch | 2007-11-18 19:13 | dirtyepic |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use