I tried the hello world sample contract, and when it came time to compile, I got this error:
hello.cpp:10:10: error: expected ']'
[[eosio:action]]
^
]
hello.cpp:10:5: warning: unknown attribute 'eosio' ignored [-Wunknown-attributes]
[[eosio:action]]
^
1 warning and 1 error generated.
I fixed it by using the GNU-style attribute syntax mentioned here. However, I'd like to stick to the intended C++11 syntax, or at least know what the tradeoffs are for using the GNU syntax. If I follow the C++11 syntax, I'm supposing I need to upgrade my compiler to accept C++11 syntax? Or am I barking up the wrong tree?