Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: solvespace/solvespace
base: bae84b27e48e
Choose a base ref
...
head repository: solvespace/solvespace
compare: 8ef3cacc332c
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Feb 20, 2020

  1. Fix some trivial warnings found by MSVC. NFC.

    Found with /W4 by MSVC 2019 (Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314)
    
    A bunch of implicit casts 'double' to 'float' and one 'int64_t' to 'unsigned'.
    
    .\src\platform\guiwin.cpp(1237): warning C4701: potentially uninitialized local variable 'cursorName' used
    .\src\platform\guiwin.cpp(1237): warning C4703: potentially uninitialized local pointer variable 'cursorName' used
    
    .\src\solvespace.cpp(805,30): warning C4456: declaration of 'gs' hides previous local declaration
    .\src\solvespace.cpp(715,17): message : see declaration of 'gs'
    
    .\src\solvespace.cpp(849,47): warning C4456: declaration of 'e' hides previous local declaration
    .\src\solvespace.cpp(847,29): message : see declaration of 'e'
    
    .\src\render\render.h(288,51): warning C4458: declaration of 'camera' hides class member
    .\src\render\render.h(271,17): message : see declaration of 'SolveSpace::SurfaceRenderer::camera'
    
    .\src\render\render.h(289,57): warning C4458: declaration of 'lighting' hides class member
    .\src\render\render.h(272,17): message : see declaration of 'SolveSpace::SurfaceRenderer::lighting'
    ruevs authored and whitequark committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    f6a774d View commit details
    Browse the repository at this point in the history
  2. Fix a bug with 3Dconnexion: SpaceMouse

    A warning found with /W4 by MSVC 2019 (Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314)
    is an actual bug. How does the SpaceMouse (I do not have one) work at all when the global `hSpaceWareDriverClass` is NULL?!
    
    .\src\platform\guiwin.cpp(1392,34): warning C4459: declaration of 'hSpaceWareDriverClass' hides global declaration
    .\src\platform\guiwin.cpp(1389,13): message : see declaration of 'SolveSpace::Platform::hSpaceWareDriverClass'
    ruevs authored and whitequark committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    8ef3cac View commit details
    Browse the repository at this point in the history