Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple PTT GCC Compile Error + Possible Fix #1705

Closed
RobRich999 opened this issue May 30, 2023 · 0 comments
Closed

Simple PTT GCC Compile Error + Possible Fix #1705

RobRich999 opened this issue May 30, 2023 · 0 comments
Labels

Comments

@RobRich999
Copy link

RobRich999 commented May 30, 2023

SDRangel 9e51ace with Qt6 support enabled. Compiling with GCC 13.0.1 under Kubuntu 23.04:

/opt/build/sdrangel/plugins/feature/simpleptt/simplepttsettings.cpp:227:35: error: conversion from ‘const bool’ to ‘QChar’ is ambiguous
227 | m_rx2txCommand = settings.m_rx2txCommandEnable;

/opt/build/sdrangel/plugins/feature/simpleptt/simplepttsettings.cpp:242:35: error: conversion from ‘const bool’ to ‘QChar’ is ambiguous
242 | m_tx2rxCommand = settings.m_tx2rxCommandEnable;

I took a quick glance and made the following changes to complete the build:

m_rx2txCommandEnable = settings.m_rx2txCommandEnable;
m_tx2rxCommandEnable = settings.m_tx2rxCommandEnable;

Though I do not use the Simple PTT feature at this time, so I can not verify if the workaround.... well, works. ;)

@f4exb f4exb added the bug label Jun 1, 2023
@f4exb f4exb closed this as completed in 5500ba4 Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants