Code Monkey home page Code Monkey logo

Comments (3)

TTimo avatar TTimo commented on June 18, 2024

Ah .. not getting this on OSX 10.8 .. what platform/compiler are you using, what is the error?

Here: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

from es_core.

fire avatar fire commented on June 18, 2024

i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.11.00)

CompileC
/Users/fire/Library/Developer/Xcode/DerivedData/es_core-gkrqlbynhohovbeavyszoiaxjaku/Build/Intermediates/es_core.build/Default/scene.build/Objects-normal/i386/main.o
../Tools/es_core/main.cpp normal i386 c++
com.apple.compilers.llvm.clang.1_0.compiler

cd /Users/fire/ES_Downloader/Dev/Project

setenv LANG en_US.US-ASCII

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x c++ -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os
-Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type
-Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors
-Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function
-Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value
-Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow
-Wno-four-char-constants -Wno-conversion -Wno-constant-conversion
-Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32
-Wno-newline-eof -Wno-c++11-extensions -fasm-blocks -fstrict-aliasing
-Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility=hidden
-fvisibility-inlines-hidden -Wno-sign-conversion
-I/Users/fire/Library/Developer/Xcode/DerivedData/es_core-gkrqlbynhohovbeavyszoiaxjaku/Build/Intermediates/es_core.build/Default/scene.build/scene.hmap
-I/Users/fire/Library/Developer/Xcode/DerivedData/es_core-gkrqlbynhohovbeavyszoiaxjaku/Build/Products/Default/include
-I../Tools/es_core -I../Tools/es_core/../czmq/include
-I../Tools/es_core/../libzmq/include
-I../Tools/es_core/../ogre/Build/include
-I../Tools/es_core/../ogre/OgreMain/include
-I../Tools/es_core/../SDL/include -I../Tools/es_core/head_src
-I/Users/fire/Library/Developer/Xcode/DerivedData/es_core-gkrqlbynhohovbeavyszoiaxjaku/Build/Intermediates/es_core.build/Default/scene.build/DerivedSources/i386
-I/Users/fire/Library/Developer/Xcode/DerivedData/es_core-gkrqlbynhohovbeavyszoiaxjaku/Build/Intermediates/es_core.build/Default/scene.build/DerivedSources
-F/Users/fire/Library/Developer/Xcode/DerivedData/es_core-gkrqlbynhohovbeavyszoiaxjaku/Build/Products/Default
-MMD -MT dependencies -MF
/Users/fire/Library/Developer/Xcode/DerivedData/es_core-gkrqlbynhohovbeavyszoiaxjaku/Build/Intermediates/es_core.build/Default/scene.build/Objects-normal/i386/main.d
--serialize-diagnostics
/Users/fire/Library/Developer/Xcode/DerivedData/es_core-gkrqlbynhohovbeavyszoiaxjaku/Build/Intermediates/es_core.build/Default/scene.build/Objects-normal/i386/main.dia
-c /Users/fire/ES_Downloader/Dev/Project/../Tools/es_core/main.cpp -o
/Users/fire/Library/Developer/Xcode/DerivedData/es_core-gkrqlbynhohovbeavyszoiaxjaku/Build/Intermediates/es_core.build/Default/scene.build/Objects-normal/i386/main.o

/Users/fire/ES_Downloader/Dev/Project/../Tools/es_core/main.cpp:121:13:
error: use of undeclared identifier 'LOG_ALERT'

syslog( LOG_ALERT, "%s\n", argv[0] );

        ^

/Users/fire/ES_Downloader/Dev/Project/../Tools/es_core/main.cpp:129:13:
error: use of undeclared identifier 'LOG_ALERT'

syslog( LOG_ALERT, "chdir %s\n", cwd );

        ^

2 errors generated.

from es_core.

TTimo avatar TTimo commented on June 18, 2024

Oh it's LOG_ALERT that it has a problem with, not the syslog() call. Weird that I cannot reproduce, I have the same environment. Added the header include.

from es_core.

Related Issues (7)

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.