Warning in ogg.h compiling juce_OggVorbisAudioFormat.cpp


#1

REBUILDING with VC8 after just getting the last modif’s I noted the following warning:

...\src\juce_appframework\audio\audio_file_formats\oggvorbis\ogg.h(45) : warning C4505: 'bitreverse' : unreferenced local function has been removed

The warning comes because “juce_OggVorbisAudioFormat.cpp” includes “oggvorbis/codec.h” which includes “oggvorbis/ogg.h”.

Rather insignificant but maybe you want to #pragma the warning out or change the declaration from static to _inline or deal with it in some other way such as declaring the statics into another header that is only included where needed.


#2

yep, I’ll tidy that up.