URL: <http://savannah.gnu.org/bugs/?27809>
Summary: several win64 fixes Project: make Submitted by: sezero Submitted on: Mon 26 Oct 2009 09:07:56 AM GMT Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: CVS Operating System: MS Windows Fixed Release: None Triage Status: None _______________________________________________________ Details: Hello: The make windows code, as it is currently in the cvs, is fairly win32-centric and doesn't know about win64 and that it's following the llp64 convention. Most of the issues are related to pid_t, where job.h actually uses pid_t while some other places use int for it. And there are a few other similar places where casting pointers to long or int is bad and intptr_t is the correct answer (mingw32 (mingw.org) and mingw-w64 (mingw-w64.sourceforge.net) both do provide intptr_t.) Attached a small patch which addresses some of these issues. There are many other warnings from the build process (see the attached log, recorded after applying this patch), but most (if not all) of them are from debug message prints and not as catastrophic. Please review the changes and apply if they are OK. Regards. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 26 Oct 2009 09:07:56 AM GMT Name: build.log Size: 25kB By: sezero win64 (mingw-w64) patch, and the build log <http://savannah.gnu.org/bugs/download.php?file_id=18942> ------------------------------------------------------- Date: Mon 26 Oct 2009 09:07:56 AM GMT Name: make-w64.diff Size: 5kB By: sezero win64 (mingw-w64) patch, and the build log <http://savannah.gnu.org/bugs/download.php?file_id=18941> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?27809> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make