lvqcl wrote:> No, FLAC__AVX_SUPPORTED is 0 (initially it's undefined, then inside cpu.h > it's defined as 0). > > MSVC cannot discard unused references in debug builds and when LTCG is on, > for example: <http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2016-April/193437.html> > > And currently LTCG is enabled for release builds.Ok, thats a problem. A large chunk of the cleanup I was hoping to do depended on the fact that any sane compiler drops code which can be proved to be un-needed at compiler. Can LTCG be disabled? Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
Erik de Castro Lopo wrote:>> MSVC cannot discard unused references in debug builds and when LTCG is on, >> for example: <http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2016-April/193437.html> >> >> And currently LTCG is enabled for release builds. > > Ok, thats a problem. A large chunk of the cleanup I was hoping to do > depended on the fact that any sane compiler drops code which can be > proved to be un-needed at compiler. > > Can LTCG be disabled?Sure. The question is, what to do with the debug configuration.
lvqcl wrote:> Sure. > > The question is, what to do with the debug configuration.<sigh/> Is this only a problem with MSVS2005? If so, I'd be inclined to jsut drop support for it. Its over 10 years old and aren't there free versions of more recent MSVCs available? Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/