Author Topic: Use Slick Edit to build VS programs  (Read 210 times)

TeamBubba

  • New Community Member
  • Posts: 2
  • Hero Points: 0
Use Slick Edit to build VS programs
« on: October 05, 2020, 01:49:58 pm »
I've been handed a VS project and I'm using Slick Edit Pro 2019...
I'm building the C++ code under Slick Edit(Ctrl+M) and continually getting error messages about strcpy, strtok and other functions:
.....To disable deprecation, use _CRT_SECURE_NO_WARNINGS
I have put a define in the project properties, which did not stop this error.
I put a #define in the code, same results.

I also have a bunch of warnings which I would like to turn off (mostly type conversions).  I've attempted, same method, to change the warning level to no avail.

Ideas?

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1423
  • Hero Points: 130
Re: Use Slick Edit to build VS programs
« Reply #1 on: October 05, 2020, 08:33:46 pm »
You would need to add the defines you want to the Visual Studio project in Visual Studio.  We don't modify the Visual Studio projects, we only read them and pass on commands to the Microsoft tools.

The pre-processor defines you can add to SlickEdit are for the benefit of SlickEdit's tagging, the Visual Studio compiler wouldn't see those changes.