[comp.std.c] blue paint

tkacik@kyzyl.mi.org (Tom Tkacik) (07/26/90)

I have seen many references to blue paint in this newsgroup.
Something to do with self-referencing macros, I think.

I recently obtained a copy of the ANSI-C standard, and one of the
first things I looked for was, of course, blue paint.
I could find no mention of it.

Can someone explain blue paint?  Is it in the standard?
If so, where?  If not, where did it come from, and where did it go?

-- 
Tom Tkacik		tkacik@kyzyl.mi.org
Speaking only for myself here in Royal Oak.

gwyn@smoke.BRL.MIL (Doug Gwyn) (07/27/90)

In article <225@kyzyl.mi.org> tkacik@kyzyl.mi.org (Tom Tkacik) writes:
>Can someone explain blue paint?  Is it in the standard?

"Blue paint" is a standard informal term used in the macro business
to indicate that some sort of marker is attached to an object for the
sole purpose of being able to tell later that the object has been
processed in a specific way.  The etymology is unimportant (it
probably has something to do with blue coconuts).

Section 3.8.3.4 of the C standard is where it is specified that blue
paint persists; however, other wording is employed.