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

Unreferenced parameter warnings #222

Closed
seanmiddleditch opened this issue Oct 22, 2021 · 2 comments
Closed

Unreferenced parameter warnings #222

seanmiddleditch opened this issue Oct 22, 2021 · 2 comments
Assignees
Milestone

Comments

@seanmiddleditch
Copy link

With warnings fully enabled, which reactphysics3d does indiscriminately (#220), a number of "unreferenced parameter" warnings are raised (v8.0.0 tag).

Warnings from MSVC:

C:\Build\External\reactphysics3d-src\src\collision\narrowphase\CapsuleVsCapsuleAlgorithm.cpp(38): warning C4100: 'memoryAllocator': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\collision\shapes\TriangleShape.cpp(249): warning C4100: 'allocator': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\collision\shapes\HeightFieldShape.cpp(96): warning C4100: 'allocator': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\collision\narrowphase\SphereVsCapsuleAlgorithm.cpp(39): warning C4100: 'memoryAllocator': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\BoxShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\collision\shapes\CapsuleShape.cpp(70): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\collision\shapes\CapsuleShape.cpp(86): warning C4100: 'allocator': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\collision\shapes\SphereShape.cpp(63): warning C4100: 'allocator': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\BoxShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\collision\shapes\BoxShape.cpp(95): warning C4100: 'allocator': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\collision\shapes\ConvexMeshShape.cpp(109): warning C4100: 'allocator': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\collision\shapes\ConvexMeshShape.cpp(187): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\BoxShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\engine\PhysicsWorld.cpp(53): warning C4100: 'profiler': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\BoxShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\BoxShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\components\BallAndSocketJointComponents.cpp(107): warning C4100: 'component': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\systems\BroadPhaseSystem.cpp(156): warning C4100: 'timeStep': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\components\FixedJointComponents.cpp(120): warning C4100: 'component': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\BoxShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\BoxShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\memory\DefaultAllocator.h(59): warning C4100: 'size': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(58): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\engine\EventListener.h(64): warning C4100: 'callbackData': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\BoxShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(225): warning C4100: 'mass': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\TriangleShape.h(230): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\ConcaveShape.h(133): warning C4100: 'localPoint': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(148): warning C4100: 'direction': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\include\reactphysics3d\collision\shapes\SphereShape.h(188): warning C4100: 'collider': unreferenced formal parameter
C:\Build\External\reactphysics3d-src\src\collision\narrowphase\SphereVsSphereAlgorithm.cpp(34): warning C4100: 'memoryAllocator': unreferenced formal parameter
@DanielChappuis
Copy link
Owner

Thanks for reporting this

As for issue #221, I am currently working on the 'develop' branch for the next release of the library. In this branch, I have spent some time to remove a lot of warnings. Since I am working mainly with gcc compiler, I will try to see if the warnings you have reported are still valid in the 'develop' branch when compiling with MSVC.

@DanielChappuis DanielChappuis self-assigned this Oct 26, 2021
@DanielChappuis DanielChappuis added this to the Version 0.9.0 milestone Oct 26, 2021
@DanielChappuis
Copy link
Owner

The fixes that I have done for the warnings in MSVC are now part of the version v0.9.0 that has just been released.

I am closing this issue but feel free to reopen it if you think this issue is not solved.

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

No branches or pull requests

2 participants