Nantes Université

Skip to content
Extraits de code Groupes Projets
  1. fév. 16, 2022
  2. août 26, 2021
    • qykth-git's avatar
      Multi byte char support for non-ASCII path name (#65) · 478f74d8
      qykth-git a rédigé
      * Use "L" notation for wide character
      
      * Remove unneeded cast
      
      PrintMessage() now uses const pointer
      
      * C++11 accepts std::string for std::wifstream
      
      * C++11 accepts std::string for std::wifstream
      
      * Use mbstowcs()/wcstombs() to convert character class
      
      This fix works when file path includes non-ASCII characters.
      
      * Revert "Use mbstowcs()/wcstombs() to convert character class"
      
      This reverts commit 7fd150a1570b8d6de246da352688daaeadcda998.
      
      mbstowcs()/wcstombs() is not so secure, and recommends mbstowcs_s()/wcstombs_s().
      But these secure variants are not supported by some C libraries.
    • Jacek Czerwonka's avatar
      Enum1 (#68) · baaae8f6
      Jacek Czerwonka a rédigé
      * Fix warning about the array delete
      
      * Fix ErrorCode enum
      
      * Fixing unintalized vars
    • Jacek Czerwonka's avatar
      More fixes to enum-related warnings (#67) · d3efe9d6
      Jacek Czerwonka a rédigé
      * Fix warnings pertaining to EncodingType.
      
      * More fixes to enum related warnings
  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. nov. 26, 2017
  5. 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
  6. oct. 16, 2015
Chargement en cours