My first? question
My first? question
- Subject: My first? question
- From: Juan Falgueras <email@hidden>
- Date: Thu, 16 Oct 2008 02:54:27 +0200
Hi all there
I am absolutely new to this list. My name is Juan and I am teaching at the University of Málaga (mediterranean, south of Spain), now happily with 24 iMacs under LDAP and ARD, the experience, after so many years of Linux and also (no way, Windows) is being so genial that I am a bit angry not having had it before.
But we live with many others professors that use Linux as base and we decided time ago to use the greater common divisor: only use Terminal+Simple-Text-Editor. My choice for the last has been TextWrangler: very very good (is not TextMate, but it's quality/price is infinite).
I am having several problems with gnu gcc:
- Why, by default is activated the 4.01 instead the 4.2 (not to speak the last current one : 4.3.2, that its not yet there)
- Is it possible to launch the editor with any script or something directly moving you to at least the first compiler error?
- Why is so complicate activate _all_ the compiler Warning-on options and are near all of then deactivated? I would like to see the warnings in the student Terminal window. It will help them a lot.
$ c++-4.2 warningsfloatint.cpp warningsfloatint.cpp: In function ‘int main()’: warningsfloatint.cpp:8: warning: converting to ‘int’ from ‘float’
without the need of
alias c+++="c++ -pedantic -pedantic-errors -Wextra -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wconversion -Wfatal-errors -Wfloat-equal -Wformat -Wno-format-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Wlong-long -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmost -Wno-multichar -Wpadded -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wswitch-default -Wswitch-enum -Wundef -Wunknown-pragmas -Wunreachable-code -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings "
nor a file of options like in
$ c++-4.2 @/Users/juanfc/c++opts warningsfloatint.cpp
Why not a real -WALL? How to approach to that?
Thanks in advance.
- Juan Falgueras
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden