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

compilation warnings #224

Open
yurivict opened this issue Feb 29, 2020 · 1 comment
Open

compilation warnings #224

yurivict opened this issue Feb 29, 2020 · 1 comment

Comments

@yurivict
Copy link
Contributor

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) {
                ^
@rserban
Copy link
Member

rserban commented Mar 15, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants