Code Monkey home page Code Monkey logo

Comments (4)

TobiasKarnat avatar TobiasKarnat commented on August 11, 2024

Compiling with release cflags causes this warning:

cc1plus: warning: idlib/precompiled.h.gch: created and used with differing settings of '-m128bit-long-double'

Shouldn’t the precompiled header be compiled with the same cflags as the rest?

from rbdoom-3-bfg.

DanielGibson avatar DanielGibson commented on August 11, 2024

Am 13.01.2013 12:37, schrieb TobiasKarnat:

Compiling with release cflags causes this warning:

|cc1plus: warning: idlib/precompiled.h.gch: created and used with differing settings of '-m128bit-long-double'
|

Shouldn’t the precompiled header be compiled with the same cflags as the
rest?

We don't set -m128bit-long-double anywhere.

from rbdoom-3-bfg.

TobiasKarnat avatar TobiasKarnat commented on August 11, 2024

This causes the same problem:

# build type
if(NOT CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE "Debug")
endif()
 /usr/bin/c++ -I/tmp/RBDOOM-3-BFG-master/neo/. -I/tmp/RBDOOM-3-BFG-master/neo/idlib -I/tmp/RBDOOM-3-BFG-master/neo/libs/zlib -I/usr/include/SDL -pipe -mmmx -msse -msse2 -DUSE_EXCEPTIONS -D__DOOM__ -DUSE_OPENAL -x c++-header idlib/precompiled.h -o idlib/precompiled.h.gch

is changed to:

/usr/bin/c++ -g -D_DEBUG -O0 -ggdb -fno-strict-aliasing -Wno-pragmas -Wno-unused-variable -Wno-switch -Wno-unused-value -Winvalid-pch -I/tmp/RBDOOM-3-BFG-master/neo/. -I/tmp/RBDOOM-3-BFG-master/neo/idlib -I/tmp/RBDOOM-3-BFG-master/neo/libs/zlib -I/usr/include/SDL -pipe -mmmx -msse -msse2 -DUSE_EXCEPTIONS -D__DOOM__ -DUSE_OPENAL -x c++-header idlib/precompiled.h -o idlib/precompiled.h.gch

from rbdoom-3-bfg.

TobiasKarnat avatar TobiasKarnat commented on August 11, 2024

-DCMAKE_BUILD_TYPE=Debug can cause the m128bit-long-double warning as well.

from rbdoom-3-bfg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.