On 10/21/2013 05:14 AM, Daniele E. Domenichelli wrote:
> This will cause
> 
>   check_type_size(int SIZEOF_INT LANGUAGE BUILTIN_TYPES_ONLY)
> 
> to be accepted by this state

Yes, but many other places already do the same thing.

> The state will change from doing=LANGUAGE to doing=unset without
> setting the language, therefore C will be used and no error/warning is
> shown to the user.

When LANGUAGE is encountered, set the language to empty so that it
will be an error if the language does not get set.

-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to