delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/03/06/01:59:04

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 250943858D39
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1678085903;
bh=dMMzD/GMpJEnjibck5ys2VBFhg+BF9Nx8LGtKWZEHYY=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=Shr2epRCuG1C5/nZg4ec7qQBIamvi+tkew2dOXlBpdozFuXwG1JT/ma52O33hyeFB
qVYgKUJH+WQyRsVLcbR7io8DgSfPRDjo2I0GIjdA59cQ8FmOePsiCtt5QLaCtFIAgm
9epz7Cjh6ubiVYMQ3apSHHJPJCkPd+rqhf2D+zVM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3197E3858D35
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112; t=1678085865;
h=content-transfer-encoding:subject:from:to:content-language
:user-agent:mime-version:date:message-id:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=IF1xftm2PB6cnnJqpJzxU/2x+Gb4bhN39Ta+7cBc9Mg=;
b=uA7KqIXOGItwBrSQjQev88VH7L8Cm0PIZnx0MavxBabjrRCYYeaHkqBs/PDG8QBkSN
2s3O9VyvbYqpIz9DMfBb1AzqWaguoe29JWLEVacYsaAJnQpY7iRorkyxijnK6dds2qCe
OtMrkRL5NJ65tgJL5EfvEGrt0vHqMT3vk2G08/iHzIzlxyy6oBBa+yPRfDpfY1czkVnk
saiRn7ooDF7UakHPL+DM7nN8htbgif3oDb+YlyccFgCfV4kn0Q7RwoiRYtb3n2ILkkTY
YlfmpvX4y8Dk9w/t10O1Ogg2Q9H/1+0uE1vli0RNuITSLvxC4j9Xf7qOuO7AeBIr4grN
xOlw==
X-Gm-Message-State: AO0yUKVktSYvYcG4VRM12WrcCuIi/VNjHABwGiJFDcAFcigX+zh1W4Wu
+1sCYetjiyStSTSBdD712kmOEXKXVDc=
X-Google-Smtp-Source: AK7set9uW4R+AusrwtsK4ZJgVUsQQKYCZtAzC3T+7n3y8EExlZvG6x9y3I93kCzo9RIvq/HV9eyFhw==
X-Received: by 2002:a17:907:7212:b0:8b1:75c4:abd with SMTP id
dr18-20020a170907721200b008b175c40abdmr11626479ejc.15.1678085864957;
Sun, 05 Mar 2023 22:57:44 -0800 (PST)
Message-ID: <41f9bb68-d5e0-58d7-701f-a84b9db6b9a9@gmail.com>
Date: Mon, 6 Mar 2023 07:57:44 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: type mismatch on cpuset.h
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi,

building latest gdal I noticed a type mismatch, that forced me to build
with "-fpermissive"

on /usr/include/sys/cpuset.h

  #define CPU_ALLOC(num)      __builtin_malloc (CPU_ALLOC_SIZE(num))


but on
https://linux.die.net/man/3/cpu_alloc

  cpu_set_t *CPU_ALLOC(int num_cpus)


so void* versus cpu_set_t*

I have not checked if the other definitions are correct.

Regard
Marco

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019