User forums > Nightly builds

The 27-31 October 2007 build will NOT be out.

<< < (6/11) > >>

killerbot:

--- Quote from: MortenMacFly on October 29, 2007, 09:21:14 am ---
--- Quote from: killerbot on October 28, 2007, 09:55:44 pm ---This had already been done, every windows cbp of CB includes a project build script.

--- End quote ---
The script is OK (and cool ;-)) but I'd like to veto the path where it had been put into. Remember that usually you can checkout the C::B C++ sources only using svn.berlios.de/svnroot/repos/codeblocks/src? This won't work now anymore. Why didn't you put this script under src/build_tools ? That would have been the place to do IMHO...?!
With regards, Morten.

--- End quote ---

for no reason, you could put it in src (next to the main cbp), it is not actually a build tool. It is there temporarily untill the wx guys clean up their ...

Biplab:

--- Quote from: killerbot on October 29, 2007, 09:54:54 am ---for no reason, you could put it in src (next to the main cbp), it is not actually a build tool. It is there temporarily untill the wx guys clean up their ...

--- End quote ---

Just remove the script file. Following attached script would do the job for us.


--- Code: ---[[if (PLATFORM == PLATFORM_MSW && (GetCompilerFactory().GetCompilerVersionString(_T("gcc")) >= _T("4.2.0"))) print(_T("-Wno-attributes"));]]
--- End code ---

Add the above line to Project > Build options > Compiler settings > Other options section as a compiler option. It would get expanded during building and will remain attached to the Project file.

Please Note: Don't break the line into two or more. It simply won't work. :)

MortenMacFly:

--- Quote from: killerbot on October 29, 2007, 09:54:54 am ---It is there temporarily untill the wx guys clean up their ...

--- End quote ---


--- Quote from: thomas on October 29, 2007, 09:26:35 am ---Then wxPropertyGrid will be gone from the Code::Blocks SDK anyway, and possibly the warnings are magically gone too.

--- End quote ---

Oh - ok... so I do the change locally only until it's removed from SVN again - I thought this would be a permanent thing...

killerbot:

--- Quote from: Biplab on October 29, 2007, 10:03:03 am ---
--- Quote from: killerbot on October 29, 2007, 09:54:54 am ---for no reason, you could put it in src (next to the main cbp), it is not actually a build tool. It is there temporarily untill the wx guys clean up their ...

--- End quote ---

Just remove the script file. Following attached script would do the job for us.


--- Code: ---[[if (PLATFORM == PLATFORM_MSW && (GetCompilerFactory().GetCompilerVersionString(_T("gcc")) >= _T("4.2.0"))) print(_T("-Wno-attributes"));]]
--- End code ---

Add the above line to Project > Build options > Compiler settings > Other options section as a compiler option. It would get expanded during building and will remain attached to the Project file.

Please Note: Don't break the line into two or more. It simply won't work. :)

--- End quote ---

hey you cracked it to put it into the cbp ;-) , I have tried but failed ;-)

However, looking back on this, I think it is better to have it in a script, otherwise you have to make sure every plug-in also has the correct pseudo script in place ...

Biplab:

--- Quote from: killerbot on October 29, 2007, 10:07:44 am ---hey you cracked it to put it into the cbp ;-) , I have tried but failed ;-)

However, looking back on this, I think it is better to have it in a script, otherwise you have to make sure every plug-in also has the correct pseudo script in place ...

--- End quote ---

As you wish. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version