Nantes Université

Skip to content
Extraits de code Groupes Projets
  1. fév. 16, 2022
    • Apteryks's avatar
      Add alias for max order (#77) · 18945b31
      Apteryks a rédigé
      
      * cli/gcdmodel.cpp: Fix typos in comments.
      
      * cli/gcdmodel.cpp (CGcdData::fixModelAndSubmodelOrder): Fix typos in comments.
      
      * cli: Support "max" as an alias to the maximum value for the order switch.
      
      * cli/cmdline.cpp (parseArg): Understand "all" for the order switch.
      (showUsage): Document it.
      * cli/gcdmodel.cpp (CGcdData::fixModelAndSubmodelOrder): Ensure the
      root model order gets recomputed when "/o:max" was provided as argument.
      * cli/model.h (UNDEFINED_ORDER): Redefine as the minimum int value.
      (MAXIMUM_ORDER): New constant.
      * doc/pict.md: Document it.
      * test/arg/.tests: Add test.
      
      Co-authored-by: default avatarMaxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
  2. août 26, 2021
  3. août 23, 2021
    • qykth-git's avatar
      Compiler warnings fix (#64) · f14d961d
      qykth-git a rédigé
      * Enable warnings
      
      * Work without "-fpermissive" option
      
      * Cosmetic fix
      
      * Add "const" to fix warnings
      
      These strings are not needs to modify.
      
      * No need to use "#pragma once" in main C++ source file
      
      * Cosmetic fix
      
      Add newline to end
      
      * Return nullptr if error
      
      * delete() not works for "void*"
      
      Cast specific type to use delete()
      
      * Disable VC++ specific pragmas for other C++ compilers
      
      * Fix warning
      
      * Fix warning
      
      * Use pipeline for compiler
      
      * Enable code optimization
      
      * Add "default:" to fix "switch" syntax warning
      
      * Use "nullptr" for null pointer
      
      * Use nullptr instead of NULL
      
      * Use nullptr instead of NULL
      
      * Use "L" notation for wide character
      
      * Use C++ header instead of raw C header
  4. sept. 14, 2018
  5. nov. 04, 2016
  6. nov. 19, 2015
    • Ori Peleg's avatar
      const-related compilation fixes · 0b444dc8
      Ori Peleg a rédigé
      Several classes and functions were not const-correct. Did the minimal changes
      to fix compilation, although there are other const fixes that can be done.
      0b444dc8
  7. oct. 16, 2015
Chargement en cours