Project

General

Profile

Wt compile message

Added by Mark Travis over 4 years ago

I'm recompiling Wt since I upgraded to an M1 MacBook. I got the following error. Is this anything to worry about if I plan to use WCartesianChart?

/Users/-------/Development/Wt/src/Wt/Chart/WCartesianChart.C:4527:15: warning:
enumeration values 'CenterX' and 'CenterY' not handled in switch
[-Wswitch]
switch (legendSide()) {
^
/Users/--------/Development/Wt/src/Wt/Chart/WCartesianChart.C:4527:15: note:
add missing switch cases
switch (legendSide()) {
^
/Users/------/Development/Wt/src/Wt/Chart/WCartesianChart.C:4630:15: warning:
enumeration values 'CenterX' and 'CenterY' not handled in switch
[-Wswitch]
switch (legendSide()) {
^
/Users/-------/Development/Wt/src/Wt/Chart/WCartesianChart.C:4630:15: note:
add missing switch cases
switch (legendSide()) {
^