Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 27th, 2011  |  syntax: None  |  size: 3.40 KB  |  views: 182  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Compilation Error:
  2. In file included from /media/data/Downloads/AMDOverdriveCtrl/src/main.cpp:32:
  3. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  4. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  5. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  6. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  7. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  8. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  9. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  10. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  11. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  12. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  13. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  14. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  15. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  16. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  17. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  18. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  19. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  20. /media/data/Downloads/AMDOverdriveCtrl/src/main.h:72: error: cannot convert ‘const wchar_t*’ to ‘const char*’ in initialization
  21.  
  22. Code responsible:
  23. static const wxCmdLineEntryDesc g_cmdLineDesc [] =
  24. {
  25.      { wxCMD_LINE_SWITCH, wxT("h"), wxT("help"), wxT("displays help on the command line parameters"),
  26.        wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP },
  27.  
  28.      { wxCMD_LINE_PARAM, wxT(""), wxT(""), wxT("profile name"),
  29.        wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
  30.  
  31.      { wxCMD_LINE_SWITCH, wxT("b"), wxT("batch-mode"), wxT("only set profile, no GUI"),
  32.        wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL },
  33.  
  34.      { wxCMD_LINE_SWITCH, wxT("a"), wxT("enable-app-profiles"), wxT("set color temperature"),
  35.        wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL },
  36.  
  37.      { wxCMD_LINE_OPTION, wxT("c"), wxT("color-temp"), wxT("set color temperature"),
  38.        wxCMD_LINE_VAL_NUMBER, wxCMD_LINE_PARAM_OPTIONAL },
  39.  
  40.      { wxCMD_LINE_NONE, wxT(""), wxT(""), wxT(""), wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL }
  41. };
clone this paste RAW Paste Data