gccではC++のmain関数は単純にC言語互換のシンボル名が付けられて、gccはC++の名前で該当する関数が見つからないときC言語の名前で関数を探すようになっているから偶然mainの呼び出しは上手くいった、と。
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
gccではC++のmain関数は単純にC言語互換のシンボル名が付けられて、gccはC++の名前で該当する関数が見つからないときC言語の名前で関数を探すようになっているから偶然mainの呼び出しは上手くいった、と。