[Cin] Two patches hopefully fixing build on NetBSD 10.0/amd64

Andrew Randrianasulu randrianasulu at gmail.com
Wed Nov 27 00:04:06 CET 2024


сб, 23 нояб. 2024 г., 10:11 Andrew Randrianasulu <randrianasulu at gmail.com>:

>
>
> сб, 23 нояб. 2024 г., 02:19 Phyllis Smith <phylsmith2017 at gmail.com>:
>
>> Andrew, the 3 patches have been reviewed as much as I can do and are fine
>> on Linux so I will check them into GIT when I power up the desktop
>> (hopefully tomorrow).  The new 526 Warning errors are actually due to the
>> Fedora 40 C++ compiler.  Right below is the whole message that I did not
>> provide earlier.
>>
>> bcwindowbase.h:222:22: warning: ‘virtual void
>> BC_WindowBase::create_objects()’ was hidden [-Woverloaded-virtual=]
>>   222 |         virtual void create_objects() { return; };
>>       |                      ^~~~~~~~~~~~~~
>> In file included from guicast.h:62:
>> errorbox.h:35:14: note:   by ‘void ErrorBox::create_objects(const char*)’
>>    35 |         void create_objects(const char *text);
>>       |              ^~~~~~~~~~~~~~
>> In file included from bcsubwindow.h:26,
>>                  from bcbutton.h:26,
>>                  from bcprogressbox.C:22:
>>
>>
>> How to fix it is explained at the following url and I will test that but
>> if  i have problems, will let you know!
>>
>>
>> https://stackoverflow.com/questions/15295317/xcode-why-is-a-warning-of-is-hidden-given-with-overloaded-virtual-functions
>>
>>
>
> I also hope it will work! Thanks!
>

actually, may be warning was a bit too aggressive?

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109740

I tried to disable it like libsndfile enables it
but for some reason attached patch not worked with clang?








>
>
>>
>>>
>>>
>>>
>>>
>> On Sun, Nov 17, 2024 at 5:30 PM Andrew Randrianasulu <
>> randrianasulu at gmail.com> wrote:
>>
>>>
>>>
>>> On Mon, Nov 18, 2024 at 3:11 AM Phyllis Smith <phylsmith2017 at gmail.com>
>>> wrote:
>>>
>>>> As previously mentioned this is a backup laptop where I finally
>>>> installed Fedora 40, which is fedora's latest release.  Tomorrow I will
>>>> boot my regular laptop and build there.  Python version on Fedora 40 is
>>>> 3.12.7.
>>>>
>>>
>>> Mmm, while I dislike new, improved breakage from all-new into-your-face
>>> software ideology ,  what Fedora does usually filters down to other
>>> distros, so we better to know exact error.
>>>
>>> Take your time ...
>>>
>>>>
>>>> On Sun, Nov 17, 2024 at 5:04 PM Andrew Randrianasulu <
>>>> randrianasulu at gmail.com> wrote:
>>>>
>>>>>
>>>>>
>>>>> пн, 18 нояб. 2024 г., 02:43 Phyllis Smith <phylsmith2017 at gmail.com>:
>>>>>
>>>>>> Andrew, building on my backup laptop (instead of my standard), I have
>>>>>> 525 new error messages in the log file like:
>>>>>>
>>>>>> /mnt0_new/cin5/cinelerra-5.1/plugins/../guicast/errorbox.h:35:14:
>>>>>> note:   by ‘void ErrorBox::create_objects(const char*)’
>>>>>>
>>>>>> This is quite concerning but I have not actually reviewed the 3
>>>>>> patches yet, but assume it is the guicast one.
>>>>>>
>>>>>
>>>>>
>>>>> patch for guicast/Makefile was adding python3.12 (something pkgin
>>>>> added as dependency while I fetched usual suspects like inkscape, gimp,
>>>>> okular ...)
>>>>>
>>>>> What OS/compiler you have on this laptop?
>>>>>
>>>>> line 35 in guicast/errorbox.h is just
>>>>>
>>>>> void create_objects(const char *text);
>>>>>
>>>>> unchanged by me ....
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> On Sun, Nov 17, 2024 at 9:42 AM Andrew Randrianasulu <
>>>>>> randrianasulu at gmail.com> wrote:
>>>>>>
>>>>>>> Currently from that system
>>>>>>>
>>>>>>> I still need to set
>>>>>>>
>>>>>>>  export LD_LIBRARY_PATH="/usr/pkg/lib/ffmpeg6"
>>>>>>>
>>>>>>> and set audio output to oss - > /dev/audio but it seems to work.
>>>>>>>
>>>>>>> Can you check them by building on Linux? :)
>>>>>>>
>>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20241127/deb2d660/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Trying-to-shut-up-Woverloaded-virtual.patch
Type: text/x-diff
Size: 737 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20241127/deb2d660/attachment-0001.bin>


More information about the Cin mailing list