From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FSL_HELO_HOME autolearn=no autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=BNl7LNWmx2vt3nruU8IDlaha0NhXZnztK58Xd8uosTU=; b=hI0/JgFAWcMWrhtg6pfBFtgyiroUXQ/xWypKEAMD8K503hJqPYxzHfgfxXwNyVWXng lWTc6GArEB6hAMvI6ljNPoNbf/I2dtNlo1UVMasvweny0DsQ+Q67QSOui4zNlr8pK0bq 5I0OJCVhvHoBLckQihrl0YPVt+QBIpXBA96pc3pLHuvWZ2bHhcudj221Rd8qjnwMHLcg 3WxnwHpKU6GPnuEl5AaeXu3DbannIMj0IRKSfvukexl0/XDjzN5GbBpciayfQn2hH/2m +azXc4H+nNIUz80SDpFEbj4vJ2KhzEZWuHiUN5kWskVyZNzTLvBBmfcXWmRHQ7x9ZmoF OIvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BNl7LNWmx2vt3nruU8IDlaha0NhXZnztK58Xd8uosTU=; b=G7Fh2nMKsuodUGywzxP1Sg/pNiuW0i6Eh4xNOzOHGRMBvwhqpcRHB/4JuDpucApFyo CKHE+OQ6b5vdHg2rSRiHTmMorNLWQRdaOE6lmZ+MWkMu8Aak0Pajtj5T9Vk9TmaYXI3D 7iiD4hKBKpc1Cpnq99l1l7Fxq87hilNS7gqPQeUT3N+lySO61dbWCqq1uJKN94mH4uUu FK+XiWZrYQx94pF0SVwqew2kl6oIDLeGwM/1/ZtLHzgDwm9xEN5DsXgUEmllmHOOEpE/ JuuSGgBDDSpQinYr4nrf9ddtNRNStLy39SNiksTGZtT3qw+jCNUnHHj/E9SzBUMFKmGC tgWg== X-Gm-Message-State: AIVw113Xy9oCmujecX+ubSpenIllNsPtSmaOlJpgl+GvUJTtRfY5sni1 paXb7HZTTEEz8D5MNAg= X-Received: by 10.46.21.78 with SMTP id 14mr4774564ljv.47.1501438321761; Sun, 30 Jul 2017 11:12:01 -0700 (PDT) To: devel@lists.altlinux.org References: From: =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0KXQsNC90LbQuNC9?= Message-ID: <043c96a8-c577-6952-09be-2ed9f7e44845@gmail.com> Date: Sun, 30 Jul 2017 21:12:53 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=koi8-r; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [devel] =?utf-8?b?0KfRgtC+INGN0YLQvj8g0J/QtdGA0LXQvtC/0YDQtdC0?= =?utf-8?b?0LXQu9C10L3QuNC1INGE0YPQvdC60YbQuNC5Pw==?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2017 18:12:03 -0000 Archived-At: List-Archive: List-Post: 30.07.2017 20:00, Pavel Vainerman пишет: > > Ну вроде как определение здесь > /usr/src/RPM/BUILD/icewm-githubmod/src/base.h > конфликтует с определением здесь > /usr/include/string.h > > Здесь не видно.. но судя по.. has a different exception specifier > не совпадает по спецификации исключений. > > у меня в /usr/include/string.h > > extern size_t strlcpy (char *__dst, __const char *__src, size_t __n) > __THROW __nonnull ((1, 2)); > > смотрите что там в icewm-githubmod/src/base.h > В /usr/include/string.h: #ifdef __USE_MISC /* Copy at most N - 1 characters from SRC to DEST. */ extern size_t strlcpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __THROW __nonnull ((2)); /* Append SRC to DEST, possibly with truncation to keep the total size below N. */ extern size_t strlcat (char *__restrict __dest, const char *__restrict __src, size_t __n) __THROW __nonnull ((2)); #endif В src/base.h: /* Prefer this as a safer alternative over strcpy. Return strlen(from). */ size_t strlcpy(char *dest, const char *from, size_t dest_size); /* Prefer this over strcat. Return strlen(dest) + strlen(from). */ size_t strlcat(char *dest, const char *from, size_t dest_size); Вроде как определения похожи, нафига продублировали. Вымарал из base.h, собралось. Работоспособность пока не проверял. Как же-ж лучше сделать?