pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/libfetch
Module Name: pkgsrc
Committed By: marino
Date: Sun Oct 7 07:23:21 UTC 2012
Modified Files:
pkgsrc/net/libfetch: Makefile
Log Message:
net/libfetch: Fix for gcc4.7
When building with gcc4.7, libfetch fails with the following error:
ftp.c: In function 'unmappedaddr':
ftp.c:149:2: error: dereferencing type-punned pointer will break
strict-aliasing rules [-Werror=strict-aliasing]
cc1: all warnings being treated as errors
*** Error code 1
The code is intentionally grouping an array of four uint8_t bytes into a
uint32_t word. Add -Wno-strict-aliasing in makefile to fix build in gcc4.7.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/net/libfetch/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index