try this on machine with gcc 5.5 or earlier g++ compiler? (note there is
typo in patch filename - must be libdpx)

On Thursday, April 7, 2022, Andrew Randrianasulu <[email protected]>
wrote:

>
>
> On Thursday, April 7, 2022, Phyllis Smith <[email protected]> wrote:
>
>>
>> That is a better solution so I will wait to see what you come up with.
>> The first patch, which had problems, would cause problems for many more
>> people and we really, really want as many people to be able to build
>> themselves without having to add new requirements that might not even work
>> for older systems like ubuntu 16.
>>
>
> I think we can add this specific m4 macro from autoconf archive to our own
> m4 directory in source tree, but I'll test both ideas. New compiler
> defaults to new c++ mode anyway, but I guess old ones  also migh have some
> bugs in c++ support, so changing compilation mode for whole program sounds
> more dangerous than just for one file.
>
>>
>> also, while watching paint dry.. err, watching cin compile on emulated
>>> powerpc I noticed we already override cxx standard for fileexr (look for
>>> c++11 in cinelerra/Makefile) so hopefully same can be done for filedpx
>>>
>>>
>>>
>>> On Tuesday, April 5, 2022, Andrew Randrianasulu <[email protected]>
>>> wrote:
>>>
>>>> ow.
>>>>
>>>> does autoreconf fixes this?
>>>>
>>>> https://stackoverflow.com/questions/27673292/ax-cxx-compile-
>>>> stdcxx-11-macro-not-found
>>>>
>>>> autoreconf --install --force
>>>>
>>>> if not - look for aditional autoconf-archive package? (not sure about
>>>> fedora's packaging)
>>>>
>>>> On Tuesday, April 5, 2022, Phyllis Smith <[email protected]>
>>>> wrote:
>>>>
>>>>> When applied, this patch immediately stops the build on Fedora 32 with
>>>>> the following error:
>>>>> checking whether we are using the GNU C++ compiler... yes
>>>>> checking whether g++ accepts -g... yes
>>>>> checking dependency style of g++... none
>>>>> ./configure: line 4828: syntax error near unexpected token `11,'
>>>>> ./configure: line 4828: `AX_CXX_COMPILE_STDCXX(11, noext, optional)'
>>>>> make: *** No targets specified and no makefile found.  Stop.
>>>>> mv: cannot stat 'Makefile': No such file or directory
>>>>>
>>>>> On Tue, Apr 5, 2022 at 2:14 AM Andrew Randrianasulu via Cin <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> also add pkg-config based check for libva's location
>>>>>>
>>>>>> alsoI think my patches for aborting compile if withzmpeg = no and
>>>>>> v4l2/dvb = yes need  || test case for xauto...
>>>>>>
>>>>>> ---------- Forwarded message ----------
>>>>>> From: *Андрей Рандрианасулу* <[email protected]>
>>>>>> Date: Tuesday, April 5, 2022
>>>>>> Subject: libdpx c++ check
>>>>>> To: randrianasulu <[email protected]>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Андрей  Рандрианасулу
>>>>>>
>>>>>> --
>>>>>> Cin mailing list
>>>>>> [email protected]
>>>>>> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>>>>>>
>>>>>
From 52d9ce11d497316ebc179c7dbac3498241ca8a1b Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Thu, 7 Apr 2022 21:36:31 +0300
Subject: [PATCH 66/66] Add c++11 std override for filedox (fixes compile on
 gcc 5.5)

---
 cinelerra-5.1/cinelerra/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cinelerra-5.1/cinelerra/Makefile b/cinelerra-5.1/cinelerra/Makefile
index 6ecbd5e9..d7d2a32b 100644
--- a/cinelerra-5.1/cinelerra/Makefile
+++ b/cinelerra-5.1/cinelerra/Makefile
@@ -577,6 +577,7 @@ tags:
 	ctags -R -h default --langmap=c:+.inc . ../guicast/ ../libzmpeg3 ../plugins ../thirdparty/ffmpeg-*
 
 $(OBJDIR)/fileexr.o:	BFLAGS:= -Wno-deprecated -std=c++11
+$(OBJDIR)/filedpx.o:	BFLAGS:= -Wno-deprecated -std=c++11
 $(OBJDIR)/sha1.o:	BFLAGS:= -O3
 $(OVERLAYS):		BFLAGS:= -Ofast -g0
 
-- 
2.35.1

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to