Having done quite a lot of PIC assembly work for some years, I'm finally = getting to grips with C18. I can successfully compile and run the Hello World example from = Microchip's 'getting started with development tools', see = http://www.microchip.com/stellent/idcplg?IdcService=3DSS_GET_PAGE&nodeId=3D= 2123¶m=3Den024284 ...but I get 'type qualifier mismatch in assignment' errors, possibly = relating to selection (or lack of it) of the 'large memory model'. = Please see the dump at end of this message. Quoting from the 'resolve problems' section on this web page: "3. A warning that reads =93type qualifier mismatch in assignment=94 may = mean that the large memory model is not selected when using standard I/O = (libraries are built with the large memory model)." So, my question is how do I go about fixing this? It's not clear to me = at this stage, and I don't want to ignore the issue. Many thanks, Matt. ---------------------------------------------------------------------- Debug build of project `C:\first project\gs1.mcp' started. Preprocessor symbol `__DEBUG' is defined. Wed Jan 20 11:20:40 2010 ---------------------------------------------------------------------- Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:\MCC18\bin\mcc18.exe" -p=3D18F452 "main.c" -fo=3D"main.o" = -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- MPLAB C18 v3.22 (feature limited) Copyright 2000-2008 Microchip Technology Inc. This version of MPLAB C18 does not support the extended mode and will not perform all optimizations. To purchase a full copy of MPLAB C18, please contact your local distributor or visit buy.microchip.com. C:\first project\main.c:8:Warning [2066] type qualifier mismatch in = assignment C:\first project\main.c:9:Warning [2066] type qualifier mismatch in = assignment Executing: "C:\MCC18\bin\mplink.exe" /l"C:\MCC18\lib" = "..\MCC18\lkr\18f452.lkr" "main.o" /u_CRUNTIME /u_DEBUG = /z__MPLAB_BUILD=3D1 /z__MPLAB_DEBUG=3D1 /o"gs1.cof" /M"gs1.map" /W MPLINK 4.22, Linker Copyright (c) 2008 Microchip Technology Inc. Errors : 0 MP2HEX 4.22, COFF to HEX File Converter Copyright (c) 2008 Microchip Technology Inc. Errors : 0 Loaded C:\first project\gs1.cof. ---------------------------------------------------------------------- Debug build of project `C:\first project\gs1.mcp' succeeded. Preprocessor symbol `__DEBUG' is defined. Wed Jan 20 11:20:41 2010 ---------------------------------------------------------------------- BUILD SUCCEEDED -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist