Queen – The show must go on

Queen – The show must go on

Empty spaces – what are we living for?

Abandoned places – I guess we know the score…

On and on!

Does anybody know what we are looking for?

Another hero – another mindless crime.

Behind the curtain, in the pantomime.

Hold the line!

Does anybody want to take it anymore?

The Show must go on!

The Show must go on!

Inside my heart is breaking,

My make-up may be flaking,

But my smile, still, stays on!

Whatever happens, I’ll leave it all to chance.

Another heartache – another failed romance.

On and on!

Does anybody know what we are living for?

I guess I’m learning

I must be warmer now..

I’ll soon be turning round the corner now.

Outside the dawn is breaking,

But inside in the dark I’m aching to be free!

The Show must go on!

The Show must go on! Yeah!

Ooh! Inside my heart is breaking!

My make-up may be flaking!

But my smile, still, stays on!

Yeah! oh oh oh

My soul is painted like the wings of butterflies,

Fairy tales of yesterday, will grow but never die,

I can fly, my friends!

The Show must go on! Yeah!

The Show must go on!

I’ll face it with a grin!

I’m never giving in!

On with the show!

I’ll top the bill!

I’ll overkill!

I have to find the will to carry on!

On with the,

On with the show!

The Show must go on.

-std=c++0x -std=gnu++0x

 예제 프로그램을 컴파일 하려던 중 아래의 에러 메시지를 만났다.

Formatter.cpp:45: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
Formatter.cpp:45: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x

 문제의 발단은 다음의 문구였다.

pthread_mutex_t dateLock = PTHREAD_MUTEX_INITIALIZER

 mutex 초기화를 위한 매크로 함수 PTHREAD_MUTEX_INITIALIZER 를 사용하기 위해서는 -std=c++0x 를 함께 사용하라는 메시지이다.

 즉, 문제 해결을 위해서는 g++에서는 다음의 옵셥을 g++ 과 함께 사용하면 된다.

 g++ -g -c -I../include  -std=c++0x -o test test.c