title: Declaring Pointer Error Message: "expected an identifier"
body: <p>I am trying to define some pointers to the port registers on my board MSP432, however, in the following code when I attempt to declare my pointers, I keep receiving the following error:</p>
  
  <blockquote>
  <pre><code>"../main.c", line 11: error #41: expected an identifier
  "../main.c", line 11: error #80: expected a type specifier
  </code></pre>
  </blockquote>
  
  <p>I have tried several different alternations, but keep receiving the same error and am not sure how to fix it. Any help would be greatly appreciated! </p>
  
  <pre><code>#include "msp.h"
  #include &lt;stdint.h&gt;
  
  void main()
  {
      unsigned int count = 0;
      unsigned int i = 0;
  
      WDT_A-&gt;CTL = WDT_A_CTL_PW | WDT_A_CTL_HOLD;
  
      uint8_t * P1IN = (uint8_t *)0x40004C00;
      uint8_t * P1SEL0 = (uint8_t *)0x40004C0A;
      uint8_t * P1SEL1 = (uint8_t *)0x40004C0C;
      uint8_t * P1OUT = (uint8_t *)0x40004C02;
      uint8_t * PDIR = (uint8_t *)0x40004C04;
  
  .....
  </code></pre>