Address Mapping Struct Compilation Error


#1

I am getting the following error when trying to compile an address mapping using a struct:

src:1:1: Warning: Source file does not specify required compiler version!Consider adding "pragma solidity ^0.4.8
contract Friends {
^
Spanning multiple lines.
src:3:25: Error: Identifier not found or not unique.
mapping (address => User) public users;

pragma solidity ^0.4.2;

struct User {
string name;
string email;
uint256 balance;
mapping (address => Friend) friends;
}

mapping (address => User) public users;


#2

Which blockapps version are you using? It seems related to: