From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25501 invoked by alias); 3 May 2018 20:08:00 -0000 Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org Received: (qmail 25488 invoked by uid 89); 3 May 2018 20:07:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*r:smtp, H*RU:smtp, Hx-spam-relays-external:smtp, Hx-spam-relays-external:ESMTPA X-HELO: avasout08.plus.net Received: from avasout08.plus.net (HELO avasout08.plus.net) (212.159.14.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 03 May 2018 20:07:58 +0000 Received: from [192.168.1.102] ([209.93.187.51]) by smtp with ESMTPA id EKWBfkZIYUVt6EKWCfmSfR; Thu, 03 May 2018 21:07:56 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=QpxwI26d c=1 sm=1 tr=0 a=/qt+VyrzJMtw9Hbbvmj5ag==:117 a=/qt+VyrzJMtw9Hbbvmj5ag==:17 a=IkcTkHD0fZMA:10 a=KEL-51qrXkgD28hPx6gA:9 a=QEXdDO2ut3YA:10 X-AUTH: gladman+brg@:2500 Subject: Re: New routines for moving window statistics and filters To: gsl-discuss@sourceware.org References: <246e248c-ac5f-8f52-16c0-a519458b34ef@colorado.edu> From: Brian Gladman Message-ID: Date: Thu, 03 May 2018 20:08:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <246e248c-ac5f-8f52-16c0-a519458b34ef@colorado.edu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfGcQfnc/5FMbfFwCR2RuNUiqZy4rTKB13EVGabRhBeRWVjEcD8m+zvAePU1/VxBDzqExesi6Ox2fX6L+cjhGpukrPbbra4jWMMo1OYzLYXyBbetlVDUe XFCSjUiSRwYaAD+YCtrIEUR/Q4UBaExhcEteeGJfa+Ip3TjDVL/URvS0StKtUNT/zqLJZ8Aza+721Q== X-SW-Source: 2018-q2/txt/msg00004.txt.bz2 On 03/05/2018 17:32, Patrick Alken wrote: > Brian, > >   Thanks for testing. gcc never complained about the void* arithmetic so > I didn't catch this error. I have replaced these lines by casting the > void pointers to unsigned char *, which should correct the issue. Can > you try out the latest git and let me know if it fixes the issue? Hi Patrick That solved it and all the new material now works with Visual Studio 2017. I had to make a small change in filter/test_median.c because the Unix function gettimeofday() is not available on Windows so I had to add a local one. I have added this change to the main repository. Brian