doc/about.html
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 18 Apr 2016 18:56:51 +0300
changeset 1478 69fe0b81e951
parent 434 092060fd8afb
child 1513 b7b8d29e2a2d
permissions -rw-r--r--
make attribute CFLAGS and LDFLAGS optional and add default empty value

Actually CFLAGS and LDFLAGS are not required and can be empty.
Without default empty value if target platform in project settings was
set to "Linux" CFLAGS and LDFLAGS was initialized with NoneType.
The result was broken build and it wasn't to save/load project with
such settings.

Traceback (most recent call last):
File "/home/developer/WorkData/PLC/beremiz/beremiz/ProjectController.py", line 956, in _Build
if not builder.build() :
File "/home/developer/WorkData/PLC/beremiz/beremiz/targets/toolchain_gcc.py", line 96, in build
Builder_CFLAGS = ' '.join(self.getBuilderCFLAGS())
TypeError: sequence item 0: expected string, NoneType found
<HTML>
<BODY>
<CENTER>
<IMG SRC="../images/splash.png">
<BR><BR>
<font size="3">Beremiz is an Open Source framework for automation.</font>
<BR><BR>
<a href="http://www.beremiz.org/">http://www.beremiz.org/</a>
<BR><BR>
<TABLE border="0">
  <TR>
    <TD align="right" valign="top">
      Contributor :
    </TD>
    <TD align="left" valign="top">
      University of Porto<BR>
      <a href="http://www.fe.up.pt/si/web_page.inicial">http://www.fe.up.pt/si/web_page.inicial</a>
    </TD>
  </TR>
</TABLE>
</CENTER>
</BODY>
</HTML>