Displaying 2 results from an estimated 2 matches for "c4146".
Did you mean:
4146
2012 Aug 15
1
Visual Studio build of Opus-1.0.1-rc
....h"
> /* Make sure everything's aligned to sizeof(void *) bytes */
> static inline int align(int i)
> {
> return (i+sizeof(void *)-1)&-sizeof(void *);
> }
I am not sure how this line is supposed to work. The warning statement is
"opus_private.h(81): warning C4146: unary minus operator applied to
unsigned type, result still unsigned"
My solution for this to work propperly in Windows would be
> /* Make sure everything's aligned to sizeof(void *) bytes */
> static inline int align(int i)
> {
> return (i+sizeof(void *)-1)&-((...
2006 Jan 03
0
Minor warning from win32-ipc
Hi all,
I noticed this warning coming out of win32-ipc when built with -W3:
c:\eclipse\workspace\win32-ipc\ipc.h(74) : warning C4146: unary minus
operator applied to unsigned type, result still un
signed
Are we just trying to get an absolute value there? Just curious. I
don''t want to break anything.
I''m actually going through all the win32utils packages, compiling with
-W3 and doing some cleanup, so you...