Jump to content

chovain

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About chovain

  • Rank
    Newbrie
  1. Compiler: boostc++_pic18 [running from cmdline] Version: 7.0.1 7.0.3 Target: PIC18F4550 OS: Win7-64 Bug description: Applying the unary pointer operator (&) to a pointer-type member variable results in an expression of incorrect type. Taking the address of a char* results in another char*. Non-member variables do not have this problem. Steps to reproduce: The following code does not compile. #include <system.h> char *globalPointer; class Foo { public: char *instancePointer; void bar(); }; void Foo::bar() { char *localPointer; char **x; x = &localPointe
×
×
  • Create New...