tag 455141 patch thanks Martin Michlmayr <[EMAIL PROTECTED]> (08/12/2007): > Package: freehdl > Version: 0.0.4-1 > Usertags: ftbfs-gcc-4.3
Hi, please find attached a patch to fix this FTBFS. Cheers, -- Cyril Brulebois
--- a/freehdl/kernel-acl.hh +++ b/freehdl/kernel-acl.hh @@ -4,6 +4,7 @@ #include <freehdl/kernel-error.hh> #include <stdlib.h> +#include <cstring> #define MAX_ACL_DEPTH 100 // Max depth of acl objects #define ACL_MARKER ((int)0x80000000) // This const is used to store an range --- a/v2cc/mapping.cc +++ b/v2cc/mapping.cc @@ -33,6 +33,8 @@ #include <fstream> #include <iostream> +#include <cstdlib> + using namespace std; v2cc_mapper::v2cc_mapper () --- a/v2cc/v2cc-const-fold.cc +++ b/v2cc/v2cc-const-fold.cc @@ -14,6 +14,8 @@ #include "mapping.h" #include "v2cc-util.h" +#include <climits> + // Used to generate error messages --- a/v2cc/v2cc-explore.cc +++ b/v2cc/v2cc-explore.cc @@ -14,6 +14,8 @@ #include "mapping.h" #include "v2cc-util.h" +#include <climits> + using namespace std; // Used to generate error messages --- a/v2cc/v2cc-expr.cc +++ b/v2cc/v2cc-expr.cc @@ -16,6 +16,8 @@ #include "mapping.h" #include "v2cc-util.h" +#include <climits> + // used to generate error messages extern vaul_error_printer codegen_error; --- a/v2cc/v2cc-util.cc +++ b/v2cc/v2cc-util.cc @@ -8,6 +8,8 @@ #include "v2cc-util.h" +#include <climits> + // ****************************************************************************************** // Some global variables
signature.asc
Description: Digital signature