You are not logged in.

#1 2007-05-26 15:04:44

Bangel
Member
Registered: 2007-05-17
Posts: 45

GCC, Pedantic or Alias?

I am using gcc version 4.1.2 20070423 from the official arch rep and I get some pedantic warnings everytime I use a function. Is there a way to turn it off? I looked in .bashrc and it is no alias problem.

Last edited by Bangel (2007-05-26 15:05:10)

Offline

#2 2007-05-26 16:19:52

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 125

Re: GCC, Pedantic or Alias?

you might want to try to correct the code which causes warnings with -pedantic instead

Offline

#3 2007-05-26 16:58:49

Bangel
Member
Registered: 2007-05-17
Posts: 45

Re: GCC, Pedantic or Alias?

Can't I disable the warning messages? I dont want to correct the code just yet, just want to stop warning me at every function call.

Offline

#4 2007-05-28 08:39:02

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 125

Re: GCC, Pedantic or Alias?

remove -pedantic -Wall from compiler flags

Offline

Board footer

Powered by FluxBB