chrono icon indicating copy to clipboard operation
chrono copied to clipboard

compilation warnings

Open yurivict opened this issue 5 years ago • 1 comments

clang-8 prints these warnings:

/wrkdirs/usr/ports/science/chrono/work/chrono-5.0.0/src/chrono/physics/ChContactSMC.h:230:29: warning: enumeration value 'Perko' not handled in switch [-Wswitch]
                    switch (adhesion_model) {
                            ^
/wrkdirs/usr/ports/science/chrono/work/chrono-5.0.0/src/chrono/physics/ChContactSMC.h:165:17: warning: enumeration value 'Flores' not handled in switch [-Wswitch]
        switch (contact_model) {
                ^
/wrkdirs/usr/ports/science/chrono/work/chrono-5.0.0/src/chrono/physics/ChContactSMC.h:272:17: warning: enumeration value 'Perko' not handled in switch [-Wswitch]
        switch (adhesion_model) {
                ^

yurivict avatar Feb 29 '20 19:02 yurivict

Indeed, these are new models that are currently only implemented in Chrono::Parallel. They will eventually be also supported for the base Chrono SMC system.

rserban avatar Mar 15 '20 21:03 rserban