0

There is the legacy native c++ project. In the Command Line Property Pages, the /DPROFILE is added as the additional option. I want to remove it. But I don't know if it is safe. I searched the everywhere. Unfortunately I didn't find the explanation regarding /DPROFILE and /UPROFILE. Does anybody the MSDN know page regarding them? And what are they used for?

Jeffrey
  • 4,436
  • 9
  • 38
  • 54

2 Answers2

1

/D defines a preprocessing symbol. /DPROFILE means: "define a symbol named PROFILE". You'll have to search through your source code for PROFILE to see if it's safe without it.

Conversely, the /UPROFILE means "undefine PROFILE" (see /U).

Branko Dimitrijevic
  • 50,809
  • 10
  • 93
  • 167
1

/DPROFILE defines a macro called PROFILE with an empty expansion. /UPROFILE "undefs" a macro called PROFILE. I don't believe that PROFILE has any special meaning for the Visual Studio toolchain.

CB Bailey
  • 755,051
  • 104
  • 632
  • 656