public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/104593] New: Problem with va_list
@ 2022-02-18 8:57 lukaszcz18 at wp dot pl
2022-02-18 9:00 ` [Bug c++/104593] " pinskia at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: lukaszcz18 at wp dot pl @ 2022-02-18 8:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104593
Bug ID: 104593
Summary: Problem with va_list
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: lukaszcz18 at wp dot pl
Target Milestone: ---
I use vvenc/vvdec c++14
https://github.com/fraunhoferhhi/vvenc/commit/69469d7ac5de882d9f5e12b24ee87f376df20262
In file included from AffineGradientSearch.h:53,
from AffineGradientSearch.cpp:57:
CommonDef.h:595:62: warning: ignoring attributes on template argument
'void(void*, int, const char*, va_list)' {aka 'void(void*, int, const char*,
char*)'} [-Wignored-attributes]
595 | extern std::function<void( void*, int, const char*, va_list )>
g_msgFnc;
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/104593] Problem with va_list
2022-02-18 8:57 [Bug c++/104593] New: Problem with va_list lukaszcz18 at wp dot pl
@ 2022-02-18 9:00 ` pinskia at gcc dot gnu.org
2022-02-18 9:04 ` [Bug target/104593] " pinskia at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-02-18 9:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104593
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-02-18
Status|UNCONFIRMED |WAITING
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Can you provide the preprocessed source?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/104593] Problem with va_list
2022-02-18 8:57 [Bug c++/104593] New: Problem with va_list lukaszcz18 at wp dot pl
2022-02-18 9:00 ` [Bug c++/104593] " pinskia at gcc dot gnu.org
@ 2022-02-18 9:04 ` pinskia at gcc dot gnu.org
2022-02-18 9:05 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-02-18 9:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104593
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Component|c++ |target
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also what exact target is this on?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/104593] Problem with va_list
2022-02-18 8:57 [Bug c++/104593] New: Problem with va_list lukaszcz18 at wp dot pl
2022-02-18 9:00 ` [Bug c++/104593] " pinskia at gcc dot gnu.org
2022-02-18 9:04 ` [Bug target/104593] " pinskia at gcc dot gnu.org
@ 2022-02-18 9:05 ` pinskia at gcc dot gnu.org
2022-02-18 9:08 ` lukaszcz18 at wp dot pl
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-02-18 9:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104593
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
#include <functional>
#include <cstdarg>
extern std::function<void( void*, int, const char*, va_list )> g_msgFnc;
Does not warn for me on x86_64-linux-gnu.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/104593] Problem with va_list
2022-02-18 8:57 [Bug c++/104593] New: Problem with va_list lukaszcz18 at wp dot pl
` (2 preceding siblings ...)
2022-02-18 9:05 ` pinskia at gcc dot gnu.org
@ 2022-02-18 9:08 ` lukaszcz18 at wp dot pl
2022-02-18 9:57 ` redi at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: lukaszcz18 at wp dot pl @ 2022-02-18 9:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104593
--- Comment #4 from Jamaika <lukaszcz18 at wp dot pl> ---
(In reply to Andrew Pinski from comment #1)
> Can you provide the preprocessed source?
http://msystem.waw.pl/x265/mingw-gcc1201-20220206.7z
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/104593] Problem with va_list
2022-02-18 8:57 [Bug c++/104593] New: Problem with va_list lukaszcz18 at wp dot pl
` (3 preceding siblings ...)
2022-02-18 9:08 ` lukaszcz18 at wp dot pl
@ 2022-02-18 9:57 ` redi at gcc dot gnu.org
2022-02-18 10:03 ` lukaszcz18 at wp dot pl
2022-02-18 10:17 ` redi at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2022-02-18 9:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104593
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
No, that's your compiler, please provide preprocessed source. As requested when
creating bug reports, please read https://gcc.gnu.org/bugs/ for the explanation
what you need to provide.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/104593] Problem with va_list
2022-02-18 8:57 [Bug c++/104593] New: Problem with va_list lukaszcz18 at wp dot pl
` (4 preceding siblings ...)
2022-02-18 9:57 ` redi at gcc dot gnu.org
@ 2022-02-18 10:03 ` lukaszcz18 at wp dot pl
2022-02-18 10:17 ` redi at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: lukaszcz18 at wp dot pl @ 2022-02-18 10:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104593
--- Comment #6 from Jamaika <lukaszcz18 at wp dot pl> ---
https://www.sendspace.com/file/e4n2xj
echo off
set PATH=C:\MSYS1201\bin;%PATH%
rem echo %PATH%
rem cd "C:\MSYS1201\bin"
cd lib\CommonLib
for %%f in ("%~dp1*.cpp") do g++.exe -std=gnu++14 -DNDEBUG -ftree-vectorize -g0
-O3 -fPIC -DWIN32 -DWINVER=0x0602 -D_WIN32_WINNT=0x0602 -c %%f -o %%~nf.o
cd ..\..
cd lib\apputils
for %%f in ("%~dp1*.cpp") do g++.exe -std=gnu++14 -DNDEBUG -ftree-vectorize -g0
-O3 -fPIC -DWIN32 -DWINVER=0x0602 -D_WIN32_WINNT=0x0602
-DVVENC_ENABLE_THIRDPARTY_JSON=1 -c %%f -o %%~nf.o
cd ..\..
cd lib\Utilities
for %%f in ("%~dp1*.cpp") do g++.exe -std=gnu++14 -DNDEBUG -ftree-vectorize -g0
-O3 -fPIC -DWIN32 -DWINVER=0x0602 -D_WIN32_WINNT=0x0602 -c %%f -o %%~nf.o
cd ..\..
cd lib\EncoderLib
for %%f in ("%~dp1*.cpp") do g++.exe -std=gnu++14 -DNDEBUG -ftree-vectorize -g0
-O3 -fPIC -DWIN32 -DWINVER=0x0602 -D_WIN32_WINNT=0x0602
-DVVENC_ENABLE_THIRDPARTY_JSON=1 -c %%f -o %%~nf.o
cd ..\..
cd lib\DecoderLib
for %%f in ("%~dp1*.cpp") do g++.exe -std=gnu++14 -DNDEBUG -ftree-vectorize -g0
-O3 -fPIC -DWIN32 -DWINVER=0x0602 -D_WIN32_WINNT=0x0602 -c %%f -o %%~nf.o
cd ..\..
cd lib\vvenc
for %%f in ("%~dp1*.cpp") do g++.exe -std=gnu++14 -DNDEBUG -ftree-vectorize -g0
-O3 -fPIC -DWIN32 -DWINVER=0x0602 -D_WIN32_WINNT=0x0602 -c %%f -o %%~nf.o
cd ..\..
cd App\vvencapp
for %%f in ("%~dp1*.cpp") do g++.exe -std=gnu++14 -DNDEBUG -ftree-vectorize -g0
-O3 -fPIC -DWIN32 -DWINVER=0x0602 -D_WIN32_WINNT=0x0602 -c %%f -o %%~nf.o
cd ..\..
g++ -std=gnu++14 -fPIC -ftree-vectorize -g0 -O3 -Wall -Wextra -Werror -o
VVEncoderApp.exe App\vvencapp\vvencapp.o lib\apputils\ParseArg.o
lib\apputils\VVEncAppCfg.o lib\apputils\YuvFileIO.o lib\vvenc\vvenc.o
lib\vvenc\vvencCfg.o lib\vvenc\vvencimpl.o lib\Utilities\NoMallocThreadPool.o
lib\EncoderLib\BitAllocation.o lib\EncoderLib\BinEncoder.o
lib\EncoderLib\CABACWriter.o lib\EncoderLib\EncAdaptiveLoopFilter.o
lib\EncoderLib\EncGOP.o lib\EncoderLib\EncCu.o lib\EncoderLib\EncHRD.o
lib\EncoderLib\EncLib.o lib\EncoderLib\EncModeCtrl.o
lib\EncoderLib\EncPicture.o lib\EncoderLib\EncReshape.o
lib\EncoderLib\EncSampleAdaptiveOffset.o lib\EncoderLib\EncSlice.o
lib\EncoderLib\InterSearch.o lib\EncoderLib\IntraSearch.o
lib\EncoderLib\LegacyRateCtrl.o lib\EncoderLib\NALwrite.o
lib\CommonLib\ProfileLevelTier.o lib\EncoderLib\RateCtrl.o
lib\EncoderLib\SEIEncoder.o lib\EncoderLib\SEIwrite.o
lib\EncoderLib\VLCWriter.o lib\CommonLib\AdaptiveLoopFilter.o
lib\CommonLib\AffineGradientSearch.o lib\CommonLib\BitStream.o
lib\CommonLib\Buffer.o lib\CommonLib\CodingStructure.o
lib\CommonLib\ContextModelling.o lib\CommonLib\Contexts.o
lib\CommonLib\DepQuant.o lib\CommonLib\dtrace.o
lib\CommonLib\InterpolationFilter.o lib\CommonLib\InterPrediction.o
lib\CommonLib\IntraPrediction.o lib\CommonLib\LoopFilter.o
lib\CommonLib\MatrixIntraPrediction.o lib\CommonLib\MCTF.o lib\CommonLib\Mv.o
lib\CommonLib\Picture.o lib\CommonLib\PicYuvMD5.o lib\CommonLib\Quant.o
lib\CommonLib\QuantRDOQ.o lib\CommonLib\QuantRDOQ2.o lib\CommonLib\RdCost.o
lib\CommonLib\Reshape.o lib\CommonLib\Rom.o lib\CommonLib\RomTr.o
lib\CommonLib\SampleAdaptiveOffset.o lib\CommonLib\SEI.o lib\CommonLib\Slice.o
lib\CommonLib\TrQuant.o lib\CommonLib\TrQuant_EMT.o lib\CommonLib\Unit.o
lib\CommonLib\UnitPartitioner.o lib\CommonLib\UnitTools.o
lib\DecoderLib\AnnexBread.o lib\DecoderLib\CABACReader.o
lib\DecoderLib\BinDecoder.o lib\DecoderLib\DecCu.o lib\DecoderLib\DecLib.o
lib\DecoderLib\DecSlice.o lib\DecoderLib\NALread.o lib\DecoderLib\SEIread.o
lib\DecoderLib\VLCReader.o
pause
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/104593] Problem with va_list
2022-02-18 8:57 [Bug c++/104593] New: Problem with va_list lukaszcz18 at wp dot pl
` (5 preceding siblings ...)
2022-02-18 10:03 ` lukaszcz18 at wp dot pl
@ 2022-02-18 10:17 ` redi at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2022-02-18 10:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104593
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-02-18 10:17 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 8:57 [Bug c++/104593] New: Problem with va_list lukaszcz18 at wp dot pl
2022-02-18 9:00 ` [Bug c++/104593] " pinskia at gcc dot gnu.org
2022-02-18 9:04 ` [Bug target/104593] " pinskia at gcc dot gnu.org
2022-02-18 9:05 ` pinskia at gcc dot gnu.org
2022-02-18 9:08 ` lukaszcz18 at wp dot pl
2022-02-18 9:57 ` redi at gcc dot gnu.org
2022-02-18 10:03 ` lukaszcz18 at wp dot pl
2022-02-18 10:17 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).