Hi Tomasz, I believe Paul said in a recent message that he's fixed this. Googling...
Yes, right here: http://www.mail-archive.com/[email protected]/msg09417.html Cheers, Eloy Paris.- On 01/25/2013 10:22 AM, Tomasz Nieszawski wrote: > Hello > I have some problems with compiling the latest version p21 > I get numerous errors about the use of #pragma > I suspect it's > to_client.c: In function ‘ToClient’: > to_client.c:51:9: error: #pragma GCC diagnostic not allowed inside functions > to_client.c:52:9: error: #pragma GCC diagnostic not allowed inside functions > to_client.c:56:3: warning: cast discards qualifiers from pointer target type > to_client.c:58:9: error: #pragma GCC diagnostic not allowed inside functions > > If I comment the #pragma lines it compiles. > > My gcc version is > > gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/lto-wrapper > Target: i686-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro > 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs > --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr > --program-suffix=-4.5 --enable-shared --enable-multiarch > --with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id > --with-system-zlib --libexecdir=/usr/lib/i386-linux-gnu > --without-included-gettext --enable-threads=posix > --with-gxx-include-dir=/usr/include/c++/4.5 > --libdir=/usr/lib/i386-linux-gnu --enable-nls --with-sysroot=/ > --enable-clocale=gnu --enable-libstdcxx-debug > --enable-libstdcxx-time=yes --enable-plugin --enable-gold > --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc > --enable-targets=all --disable-werror --with-arch-32=i686 > --with-tune=generic --enable-checking=release --build=i686-linux-gnu > --host=i686-linux-gnu --target=i686-linux-gnu > Thread model: posix > gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) > > ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
