Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. program step into non defined area

program step into non defined area

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    valerie99
    wrote on last edited by
    #1

    good afternoon, all I am trying to get rid of one of the old link library from my application I removed it from preprocessor definition, took all the link library files from LINK, but the program will still step into the area says #ifndef __XYZ_APP__ when I am doing debugging.....It really shouldn't behave like this, I also checked if anything like #define __XYZ_APP in header ....still no luck does any body know why is this happening? thank you for your time -- modified at 18:25 Wednesday 7th September, 2005

    Z M 2 Replies Last reply
    0
    • V valerie99

      good afternoon, all I am trying to get rid of one of the old link library from my application I removed it from preprocessor definition, took all the link library files from LINK, but the program will still step into the area says #ifndef __XYZ_APP__ when I am doing debugging.....It really shouldn't behave like this, I also checked if anything like #define __XYZ_APP in header ....still no luck does any body know why is this happening? thank you for your time -- modified at 18:25 Wednesday 7th September, 2005

      Z Offline
      Z Offline
      zildjohn01
      wrote on last edited by
      #2

      #ifndef __XYZ_APP__ this means: if __XYZ_APP__ is not defined, compile the code inside of me. Since you undefined it, that is what should happen

      1 Reply Last reply
      0
      • V valerie99

        good afternoon, all I am trying to get rid of one of the old link library from my application I removed it from preprocessor definition, took all the link library files from LINK, but the program will still step into the area says #ifndef __XYZ_APP__ when I am doing debugging.....It really shouldn't behave like this, I also checked if anything like #define __XYZ_APP in header ....still no luck does any body know why is this happening? thank you for your time -- modified at 18:25 Wednesday 7th September, 2005

        M Offline
        M Offline
        MailtoGops
        wrote on last edited by
        #3

        a lot of confusion to me :) ok. Preprocessor symbols can be defined in two ways. (As I know) 1. in the source or header files 2. In the project setting. Please check the project settings, preprossor options.. BAsically All debug relateted preprocessor are defined in project setting only.. " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups