Bug 103908

Summary: u_endian.h:70:2: error: invalid preprocessing directive
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: mattst88
Version: gitKeywords: bisected, regression
Hardware: x86-64 (AMD64)   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2017-11-25 23:22:23 UTC
mesa: c690a7a8cdfb6425547bbb782020098405851194 (master 17.4.0-devel)

  CC       mesa/program/prog_parameter.lo
In file included from mesa/program/prog_parameter.c:34:
In file included from ../src/mesa/main/macros.h:35:
In file included from ../src/gallium/auxiliary/util/u_math.h:42:
In file included from ../src/gallium/include/pipe/p_compiler.h:34:
In file included from ../src/gallium/include/pipe/p_config.h:129:
./util/u_endian.h:70:2: error: invalid preprocessing directive
#warn Unknown Endianness for this platform. Assuming little endian
 ^


commit 6a353479a7577dcff7c7a31809f27b59270648fb
Author: Matt Turner <mattst88@gmail.com>
Date:   Fri Nov 24 20:25:04 2017 -0800

    util: Assume little endian in the absence of platform-specific handling
Comment 1 Matt Turner 2017-11-26 05:13:11 UTC
commit b8cbad624b8198949d63c0211fe4925fc3bb9a7a
Author: Matt Turner <mattst88@gmail.com>
Date:   Sat Nov 25 15:56:43 2017 -0800

    util: Use preprocessor correctly

commit 676761252b731a6bf408e4dca694c31d74a995fc
Author: Matt Turner <mattst88@gmail.com>
Date:   Sat Nov 25 16:45:27 2017 -0800

    util: Just give up and define PIPE_ARCH_LITTLE_ENDIAN on MSVC

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.