Author Topic: a slight imperfection with custom makefile  (Read 6870 times)

lemmel

  • Guest
a slight imperfection with custom makefile
« on: June 25, 2006, 07:11:49 pm »
Hi ! Thanks for your I.D.E. !

After making settings for use custom Makefile, I Ctrl+F9 and

-----------------------------------------------------------------------------
gcc-3.4 -DEXT_HASH -I/usr/include/OGRE -I/usr/include/CEGUI    -lCEGUIOgreRenderer -lOgreMain -lCEGUIBase   -o SampleApp main.cpp
Dans le fichier [...] ream.h:31,
          à partir de main.cpp:13:
/usr/include/c++/3.4/backward/backward_warning.h:32:2: attention : #warning This file includes [...]
Process terminated with status 0 (0 minutes, 4 seconds)
1 errors, 0 warnings
-----------------------------------------------------------------------------

Except this message, there is no problem for my binary is build. That doesn't bother me, it's just for reporting.

Debian testing.
Package from http://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks.
Release 1.0RC2.
French user (LANGUAGE=fr_FR:fr:en_GB:en) with UTF8 actived.


Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: a slight imperfection with custom makefile
« Reply #1 on: June 25, 2006, 07:37:08 pm »
This warning very likely has nothing to do with Code::Blocks.

The backwards compatibility warning comes mostly if either of two things happen:
a) you installed MinGW incorrectly (copying files from different versions all over the place)
b) you include a standard header somewhere and you accidentially use the .h extension (for example #include <vector.h>)

Also, please do note that generating custom makefiles is no longer supported. If you own a custom makefile, that'll always be fine, but Code::Blocks after RC2 does not export to makefiles any more.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

lemmel

  • Guest
Re: a slight imperfection with custom makefile
« Reply #2 on: June 25, 2006, 07:54:41 pm »
This warning very likely has nothing to do with Code::Blocks.

I know where come from this warning :-). I wasn't looking for an help in order to solve this message, I'm reporting that Code::Blocks display :
------
1 errors, 0 warnings
------
instead of
------
0 errors, 1 warnings
------

Also, please do note that generating custom makefiles is no longer supported.

I'm using cmake :-) and that rocks.
Thanks

P.S. : sorry, I was quite imprecise in my previous post.
« Last Edit: June 25, 2006, 07:56:45 pm by lemmel »

sethjackson

  • Guest
Re: a slight imperfection with custom makefile
« Reply #3 on: June 25, 2006, 07:58:53 pm »
This warning very likely has nothing to do with Code::Blocks.

I know where come from this warning :-). I wasn't looking for an help in order to solve this message, I'm reporting that Code::Blocks display :
------
1 errors, 0 warnings
------
instead of
------
0 errors, 1 warnings
------

Also, please do note that generating custom makefiles is no longer supported.

I'm using cmake :-) and that rocks.
Thanks

P.S. : sorry, I was quite imprecise in my previous post.


I think this bug has been fixed..... You might want to try one of the more recent nightly builds.......

lemmel

  • Guest
Re: a slight imperfection with custom makefile
« Reply #4 on: June 25, 2006, 08:09:21 pm »
You might want to try one of the more recent nightly builds
Well, I'm a linux user (http://www.codeblocks.org/nightly/ : "The nightly builds are for the moment created only for the windows platform") and futhermore, in a certain point of view, I'm a final user, and don't want compile the software, and except this minor problem, all seems running perfectly.

If it is corrected, then all is perfect. Thanks.



sethjackson

  • Guest
Re: a slight imperfection with custom makefile
« Reply #5 on: June 25, 2006, 08:19:51 pm »
You might want to try one of the more recent nightly builds
Well, I'm a linux user (http://www.codeblocks.org/nightly/ : "The nightly builds are for the moment created only for the windows platform") and futhermore, in a certain point of view, I'm a final user, and don't want compile the software, and except this minor problem, all seems running perfectly.

If it is corrected, then all is perfect. Thanks.




The webpage needs to be updated. :P RPM's, and *.deb packages are provided on a semi-regular basis. :)

http://forums.codeblocks.org/index.php?topic=3402.0
http://forums.codeblocks.org/index.php?topic=3384.0

EDIT:

BTW using a nightly doesn't require you to build anything at all. :)

lemmel

  • Guest
Re: a slight imperfection with custom makefile
« Reply #6 on: June 25, 2006, 08:28:13 pm »
thanks for the information :-).

But (there is a but), the 06/26 release give the same response :
-----------------------
1 errors, 0 warnings
-----------------------

:-D

P.S.: What does mean "BTW" ? (I'm french :-))
« Last Edit: June 25, 2006, 08:29:58 pm by lemmel »

sethjackson

  • Guest
Re: a slight imperfection with custom makefile
« Reply #7 on: June 25, 2006, 08:29:00 pm »
thanks for the information :-).

But (there is a but), the 06/26 release give the same response :
-----------------------
1 errors, 0 warnings
-----------------------

:-D

:P Guess that bug wasn't fixed after all. Oh well.......

lemmel

  • Guest
Re: a slight imperfection with custom makefile
« Reply #8 on: June 25, 2006, 08:33:35 pm »
 :P

I suppose that was a good reporting :-). Well I'm going to the bed.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2769
Re: a slight imperfection with custom makefile
« Reply #9 on: June 25, 2006, 09:03:16 pm »

P.S.: What does mean "BTW" ? (I'm french :-))

"By the way", "as an aside", "in addition to"