On Fri, 27 Apr 2012 16:22:06 +0200, David Brown
<> wrote:
>
>"Pedantic" means "particularly fussy or detailed". With gcc, using
>"pedantic" means that the compiler will be much stricter about
>supporting the standards, and /only/ the standards. For example,
>"restrict" and "inline" are keywords in later C standards, but were not
>available in earlier ones. gcc likes to give you more features than the
>standards demand, so that you can use these features when compiling in
>C89 mode. But to allow for people who happened to have a function
>called "restrict" and a typedef called "inline", which is legal in C89
>but not C99, you can compile in "pedantic" mode. (You can still access
>newer features as "__restrict__" or "__inline__" for example.)
>"pedantic" mode is also useful for checking strict standards
>compatibility to aid portability of code.
Thanks, now I understand.
Using
www.dictionary.com, I got this:
1. ostentatious in one's learning.
2. overly concerned with minute details or formalisms, especially in
teaching.
The definition you provided is (I think) #2, and it wasn't clicking
for me by just reading the dictionary definition and the documentation
of the compiler parameter.
DTA