how replace gcc compiler educational errors outmost library headers?


i recently total -pedantic -pedantic-errors gcc accumulate options assistance cleanup querulous height code. glorious until finds errors outmost enclosed header files. there proceed spin off blunder checking outmost header files ie:



keep checking files enclosed this:



#include "myheader.h"


stop checking consolidate files this:



#include <externalheader.h>


here errors i am getting:



g++ -wall -wextra -wno-long-long -wno-unused-parameter -pedantic --pedantic-errors
-o3 -d_file_offset_bits=64 -dmingw -i"freetype/include" -i"jpeg" -i"lpng128" -i"zlib"
-i"mysql/include" -i"ffmpeg/libswscale" -i"ffmpeg/libavformat" -i"ffmpeg/libavcodec"
-i"ffmpeg/libavutil" -o omingwd/kguimovie.o -c kguimovie.cpp

in record enclosed ffmpeg/libavutil/avutil.h:41,
ffmpeg/libavcodec/avcodec.h:30,
kguimovie.cpp:44:
ffmpeg/libavutil/mathematics.h:32: error: comma during finish enumerator list
in record enclosed ffmpeg/libavcodec/avcodec.h:30,
kguimovie.cpp:44:
ffmpeg/libavutil/avutil.h:110: error: comma during finish enumerator list
in record enclosed kguimovie.cpp:44:
ffmpeg/libavcodec/avcodec.h:277: error: comma during finish enumerator list
ffmpeg/libavcodec/avcodec.h:303: error: comma during finish enumerator list
ffmpeg/libavcodec/avcodec.h:334: error: comma during finish enumerator list
ffmpeg/libavcodec/avcodec.h:345: error: comma during finish enumerator list
ffmpeg/libavcodec/avcodec.h:2249: warning: `imgresamplecontext' deprecated
(declared during ffmpeg/libavcodec/avcodec.h:2243)
ffmpeg/libavcodec/avcodec.h:2259: warning: `imgresamplecontext' deprecated
(declared during ffmpeg/libavcodec/avcodec.h:2243)
in record enclosed kguimovie.cpp:45:
ffmpeg/libavformat/avformat.h:262: error: comma during finish enumerator list
in record enclosed ffmpeg/libavformat/rtsp.h:26,
ffmpeg/libavformat/avformat.h:465,
kguimovie.cpp:45:
ffmpeg/libavformat/rtspcodes.h:38: error: comma during finish enumerator list
in record enclosed ffmpeg/libavformat/avformat.h:465,
kguimovie.cpp:45:
ffmpeg/libavformat/rtsp.h:32: error: comma during finish enumerator list
ffmpeg/libavformat/rtsp.h:69: error: comma during finish enumerator list


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

using mvc, should hoop communication between views? between models?