<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I get the following error with gcc 4.8.4 and 5.3.0 on Linux (Ubuntu
14.04 x86-64) when I try to build the<br>
<div class="moz-forward-container"> latest git version (commit
100ac1a3762915042ee65b1bf370399966f61be5 'Check for empty
strings'):<br>
<br>
<i> CC src/libdvdcss.lo</i><i><br>
</i><i>src/libdvdcss.c: In function 'set_cache_directory':</i><i><br>
</i><i>src/libdvdcss.c:237:19: error: invalid operands to binary
&& (have 'int' and 'struct passwd')</i><i><br>
</i><i> if( p_pwd && p_pwd[ 0 ] )</i><i><br>
</i><i> ^</i><i><br>
</i><i>make[1]: *** [src/libdvdcss.lo] Error 1</i><br>
<br>
<br>
If I change the line from <i>if( p_pwd && p_pwd[ 0 ] )</i>
to <i>if( p_pwd )</i> it works.<br>
<br>
</div>
</body>
</html>