Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Warning: field of class type without a DLL interface used in class with interfac  (Read 2331 times)

0 Members and 1 Guest are viewing this topic.

taliebram

  • Newbie
  • *
  • Posts: 7
    • View Profile
I'm working on a project for my master and i get the error: C:\SFML-2.5.1\include\SFML/System/String.hpp(527): warning : field of class type without a DLL interface used in a class with a DLL interface . I get this warning around 50 times, however the program still works, should i be worried about this? If yes how can I fix it? If no how can I turn this warning of?

Background info:
- Windows 10
- Program also used CUDA 9.0
- using MVS 15
« Last Edit: February 03, 2021, 10:03:14 am by taliebram »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Searching the error on Google points me to a lot of threads regarding OpenCV and CUDA, so I'm wondering whether the use of CUDA changes the warning levels somehow.
Oddly enough, it doesn't seem to be a standard VS error, as it doesn't have an error number.

I assume this can be safely ignored, but then I'm also not familiar with CUDA...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/