Skip to content

warning: using value of assignment with 'volatile' #200

Open
@hoffmakl1961

Description

@hoffmakl1961

Hello everyone,
I get the following warning when compiling:

In file included from C:\Users...\Documents\Arduino\Heizung\Thermostat\Thermostat_Wohnen_V12\Thermostat_Wohnen_V12.ino:22:
c:\Users...\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In member function 'void Task::set(long unsigned int, long int, TaskCallback, TaskOnEnable, TaskOnDisable)':
c:\Users...\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:626:34: warning: using value of assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
626 | iSetIterations = iIterations = aIterations;

c:\Users...\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In member function 'void Task::setIterations(long int)':
c:\Users...\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:642:34:
warning: using value of assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
642 | iSetIterations = iIterations = aIterations;
| ~~~~~~~~~~~~^~~~~~~~~~~~~

My Environment:
Ardunino IDE 2.3.4 / ESP32 Dev Module, TaskScheduler 3.8.5 ([arkhipenko]
let me know, if you need more informations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions