[fpc-pascal] how to get rid of hints

2018-06-25 Thread Mattias Gaertner
Hi,

How to get rid of hint 6068?

With fpc 3.1.1 using some units like fgl the compiler emits:

.../fpc/rtl/objpas/fgl.pp(899,1) Hint: "inherited" not yet supported
inside inline procedure/function
.../fpc/rtl/objpas/fgl.pp(899,1) Hint: Inlining disabled

There is no clue, what of my code triggers it.

How to get rid of the hint?

I can't use -vm6068, because that is not supported by older fpc. Also
shutting down down an otherwise useful hint entirely is not my favored
thing to do.

Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] macos make 3.1.1 fails

2018-06-25 Thread Mattias Gaertner
Hi,

Trying to compile fpc 3.1.1 i386 on Mac High Sierra 10.13.5:

make CPU_TARGET=i386 PP=/usr/local/lib/fpc/3.0.4/ppc386 all

The CPU_TARGET seems to be ignored:

/Applications/Xcode.app/Contents/Developer/usr/bin/make compiler_cycle RELEASE=1
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C compiler cycle
/Applications/Xcode.app/Contents/Developer/usr/bin/make OS_TARGET=darwin 
CPU_TARGET=x86_64 CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 rtlclean 
rtl CYCLELEVEL=1
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C 
/Users/mattias/pascal/3.1.1/fpc/rtl clean
/bin/rm -f fpcmade.x86_64-darwin Package.fpc ./ppas.sh script.res link.res  
...


GNU Make 3.81

Same error happens when trying to compile fpc 3.0.4 for i386.

The same command works with the Lazarus Makefiles. What is the fpc
Makefile doing wrong?

Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] macos make 3.1.1 fails

2018-06-25 Thread Anthony Walter
I don't believe i386 is supported by the newer OSX dev tools. Use x86_64
instead.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal