Warning: integer overflow in expression


#1

Hi All,

I am worried my patch has simply gotten too big. My sub-patches run fine, but I get the following when I run the main patch. Does anyone have insight on this?

APP
! /Users/cc/Documents/axoloti/build/xpatch.h.gch
. /Users/cc/Documents/axoloti/axoloti-factory/objects/osc/bltable.h
/Users/cc/Documents/axoloti/build/xpatch.cpp: In member function 'void rootc::instanceclock__1::dsp(bool, bool, bool&, int32_t&, int32_t&, int)':
/Users/cc/Documents/axoloti/build/xpatch.cpp:2008:24: warning: integer overflow in expression [-Woverflow]
_posfrac &= (1<<31)-1;
^
LINK
BIN
Done compiling patch
Start uploading patch
bin path: /Users/cc/Documents/axoloti/build/xpatch.bin
block uploaded @ 0x20011000 length 32768
block uploaded @ 0x20019000 length 1500
Done uploading patch
Starting patch...
patch start taking too long, disconnecting
Disconnect request
Done starting patch


#2

That is not an error, only a warning from the compiler about code style.
It is not indicating the reason why your patch is failing.

Could you attach or PM your patch?


#3

Sure, gladly

cranky.axp (96.1 KB)