Mega 2560 WiFi - error: 'PinStatus' does not name a type

Is this a variable some how familiar to you ? That is, have you written code which explicitly refers to it or is it something deeply buried in a library ?

The name of the subforum is somewhat misleading. It should (IMHO) be entitled "Installation Issues". Including Troubleshooting in the name is asking for trouble.