How can I make a user error appear in the compiler? (#error)
#8

It works something like
Code:
#define USE_MENU (true)
stock use_menu(){
  #if USE_MENU
  {
  }
  #else
    #error menu doesn't use
  #endif
  return USE_MENU
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)